From patchwork Fri May 28 06:27:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sascha Hauer X-Patchwork-Id: 102827 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4S6RfNu024483 for ; Fri, 28 May 2010 06:27:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753390Ab0E1G1e (ORCPT ); Fri, 28 May 2010 02:27:34 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:57870 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752143Ab0E1G1d (ORCPT ); Fri, 28 May 2010 02:27:33 -0400 Received: from octopus.hi.pengutronix.de ([2001:6f8:1178:2:215:17ff:fe12:23b0]) by metis.ext.pengutronix.de with esmtp (Exim 4.71) (envelope-from ) id 1OHt2a-0005TT-3e; Fri, 28 May 2010 08:27:32 +0200 Received: from sha by octopus.hi.pengutronix.de with local (Exim 4.69) (envelope-from ) id 1OHt2Z-00032s-S2; Fri, 28 May 2010 08:27:31 +0200 Date: Fri, 28 May 2010 08:27:31 +0200 From: Sascha Hauer To: Robert Jarzmik Cc: Guennadi Liakhovetski , linux-media@vger.kernel.org Subject: Re: mt9m111 swap_rgb_red_blue Message-ID: <20100528062731.GE23664@pengutronix.de> References: <20100526141848.GU17272@pengutronix.de> <87bpc2za9i.fsf@free.fr> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87bpc2za9i.fsf@free.fr> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 08:23:39 up 31 days, 23:49, 13 users, load average: 0.29, 0.82, 1.67 User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 28 May 2010 06:27:41 +0000 (UTC) diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c index 7fe70e7..f635ad2 100644 --- a/drivers/media/video/pxa_camera.c +++ b/drivers/media/video/pxa_camera.c @@ -1129,7 +1129,7 @@ static void pxa_camera_setup_cicr(struct soc_camera_device *icd, CICR1_TBIT | CICR1_COLOR_SP_VAL(1); break; case V4L2_PIX_FMT_RGB565: - cicr1 |= CICR1_COLOR_SP_VAL(1) | CICR1_RGB_BPP_VAL(2); + cicr1 |= CICR1_COLOR_SP_VAL(2); break; }