From patchwork Wed Sep 5 13:25:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 1409281 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B0E4DDF28C for ; Wed, 5 Sep 2012 13:26:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564Ab2IENZi (ORCPT ); Wed, 5 Sep 2012 09:25:38 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:16119 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336Ab2IENZh (ORCPT ); Wed, 5 Sep 2012 09:25:37 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M9V00MSVPANX450@mailout1.samsung.com>; Wed, 05 Sep 2012 22:25:35 +0900 (KST) X-AuditID: cbfee61b-b7f056d000002c30-65-504752cf9c45 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D2.DB.11312.FC257405; Wed, 05 Sep 2012 22:25:35 +0900 (KST) Received: from amdc248.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M9V00J9BPAEPR50@mmp2.samsung.com>; Wed, 05 Sep 2012 22:25:35 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: sw0312.kim@samsung.com, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , Kyungmin Park Subject: [PATCH 1/2] s5p-fimc: fimc-lite: Correct Bayer pixel format definitions Date: Wed, 05 Sep 2012 15:25:07 +0200 Message-id: <1346851508-16705-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.11.3 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPJMWRmVeSWpSXmKPExsVy+t9jQd3zQe4BBp8+m1r0bNjKajHj/D4m ByaPz5vkAhijuGxSUnMyy1KL9O0SuDKuHPnMVPCVs6Jj8lP2BsYrHF2MnBwSAiYSc16vYIGw xSQu3FvP1sXIxSEkMJ1R4u/RVYwgCSGBdiaJc00lIDabgKFE79E+sLiIgLzEk94bYA3MAjMZ JU7efcMKkhAWCJCY/foP2FQWAVWJede+soPYvAJuEpsurGCC2KYo8eP7GuYJjNwLGBlWMYqm FiQXFCel5xrpFSfmFpfmpesl5+duYgR785n0DsZVDRaHGAU4GJV4eBX+ugUIsSaWFVfmHmKU 4GBWEuG9FOgeIMSbklhZlVqUH19UmpNafIhRmoNFSZzX6ZxdgJBAemJJanZqakFqEUyWiYNT qoExzXxyXczR5ap/YqYu4apbGLZ56nv7l/lploxHlqy4kPVKZPmzQ+7fNouIq7+e6s3yn/fX bcUHh4KNL2e5hsw88e3S5mwxRfP5X2Wrn3w9a3k3vN/MVfD+W3a/AO1z3gstJfMNuEJOdS98 W3db6ei5M537OYP1Tcs3VB32Xyb3epV40N+ma3FVSizFGYmGWsxFxYkADNIqWuIBAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Replace erroneous V4L2_PIX_FMT_* entries with their V4L2_MBUS_FMT_* counterparts. This enables use of raw Bayer formats on FIMC-LITE.? subdevs. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-fimc/fimc-lite-reg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-lite-reg.c b/drivers/media/video/s5p-fimc/fimc-lite-reg.c index 09dc71e..a22d7eb 100644 --- a/drivers/media/video/s5p-fimc/fimc-lite-reg.c +++ b/drivers/media/video/s5p-fimc/fimc-lite-reg.c @@ -118,9 +118,9 @@ static const u32 src_pixfmt_map[8][3] = { FLITE_REG_CIGCTRL_YUV422_1P }, { V4L2_MBUS_FMT_VYUY8_2X8, FLITE_REG_CISRCSIZE_ORDER422_IN_CRYCBY, FLITE_REG_CIGCTRL_YUV422_1P }, - { V4L2_PIX_FMT_SGRBG8, 0, FLITE_REG_CIGCTRL_RAW8 }, - { V4L2_PIX_FMT_SGRBG10, 0, FLITE_REG_CIGCTRL_RAW10 }, - { V4L2_PIX_FMT_SGRBG12, 0, FLITE_REG_CIGCTRL_RAW12 }, + { V4L2_MBUS_FMT_SGRBG8_1X8, 0, FLITE_REG_CIGCTRL_RAW8 }, + { V4L2_MBUS_FMT_SGRBG10_1X10, 0, FLITE_REG_CIGCTRL_RAW10 }, + { V4L2_MBUS_FMT_SGRBG12_1X12, 0, FLITE_REG_CIGCTRL_RAW12 }, { V4L2_MBUS_FMT_JPEG_1X8, 0, FLITE_REG_CIGCTRL_USER(1) }, };