From patchwork Mon Apr 7 13:16:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 3945501 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 453809F370 for ; Mon, 7 Apr 2014 13:17:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F204201F7 for ; Mon, 7 Apr 2014 13:17:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B6DB20254 for ; Mon, 7 Apr 2014 13:17:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755369AbaDGNRJ (ORCPT ); Mon, 7 Apr 2014 09:17:09 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:34061 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755332AbaDGNRF (ORCPT ); Mon, 7 Apr 2014 09:17:05 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3N00CFKWWG5PD0@mailout1.samsung.com> for linux-media@vger.kernel.org; Mon, 07 Apr 2014 22:17:05 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-66-5342a54f81de Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id BA.69.29263.F45A2435; Mon, 07 Apr 2014 22:17:03 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3N00MSNWV2V030@mmp2.samsung.com>; Mon, 07 Apr 2014 22:17:03 +0900 (KST) From: Jacek Anaszewski To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, Jacek Anaszewski , Kyungmin Park Subject: [PATCH 8/8] [media] s5p_jpeg: Fix NV12 format entry related to S5C2120 SoC Date: Mon, 07 Apr 2014 15:16:13 +0200 Message-id: <1396876573-15811-8-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1396876573-15811-1-git-send-email-j.anaszewski@samsung.com> References: <1396876573-15811-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMJMWRmVeSWpSXmKPExsVy+t9jQV3/pU7BBsf2Slj0Xn3OaHG26Q27 Rc+GrawWh9+0szqwePRtWcXo8XmTXABTFJdNSmpOZllqkb5dAlfGxBer2AsusldMWrOSvYFx PVsXIyeHhICJxOa77VC2mMSFeyBxLg4hgemMEq9utDNCOO1MEpd+TgSrYhMwlPj54jUTiC0i IC/xpPcGUJyDg1mgROLQekWQsLBAqMTat5+YQcIsAqoSXd8ZQcK8Ah4SC159ZAEJSwgoSMyZ ZAMS5hTwlJi2chNYiRBQyaOXr9knMPIuYGRYxSiaWpBcUJyUnmuoV5yYW1yal66XnJ+7iREc FM+kdjCubLA4xCjAwajEwxtwwDFYiDWxrLgy9xCjBAezkgivYZdTsBBvSmJlVWpRfnxRaU5q 8SFGaQ4WJXHeA63WgUIC6YklqdmpqQWpRTBZJg5OqQbG6Yof6pk9r3b2Prvk+pdh+5ovgbcF /aOe6tzr9pp4OdH9e3NS0ervTz8kHg7l39zbJ7Zi18oix5QgruYHkzLj7J2O3NhdZL+bw/3c 0ca53Nn39B/+0XhdzOaiwPdWzrdS5OrT9+nW7w6/y37ElZggviuU8dSvlUsCYt7x7qk6ffNJ mrNMxfcXSizFGYmGWsxFxYkAAS5+mwYCAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP S5PC210 SoC doesn't support encoding NV12 raw images. Remove the relavant flag from the respective entry in the sjpeg_formats array. Signed-off-by: Jacek Anaszewski Signed-off-by: Kyungmin Park --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c index 9228bcb..a57a1e0 100644 --- a/drivers/media/platform/s5p-jpeg/jpeg-core.c +++ b/drivers/media/platform/s5p-jpeg/jpeg-core.c @@ -192,8 +192,7 @@ static struct s5p_jpeg_fmt sjpeg_formats[] = { .colplanes = 2, .h_align = 4, .v_align = 4, - .flags = SJPEG_FMT_FLAG_ENC_OUTPUT | - SJPEG_FMT_FLAG_DEC_CAPTURE | + .flags = SJPEG_FMT_FLAG_DEC_CAPTURE | SJPEG_FMT_FLAG_S5P | SJPEG_FMT_NON_RGB, .subsampling = V4L2_JPEG_CHROMA_SUBSAMPLING_420,