From patchwork Wed Oct 27 07:03:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 284892 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9R75Pb5002478 for ; Wed, 27 Oct 2010 07:05:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752124Ab0J0HEp (ORCPT ); Wed, 27 Oct 2010 03:04:45 -0400 Received: from tango.tkos.co.il ([62.219.50.35]:39693 "EHLO tango.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561Ab0J0HEp (ORCPT ); Wed, 27 Oct 2010 03:04:45 -0400 Received: from jasper.tkos.co.il (93-173-151-16.bb.netvision.net.il [93.173.151.16]) (authenticated bits=0) by tango.tkos.co.il (8.14.4/8.12.11) with ESMTP id o9R74ZoD001555; Wed, 27 Oct 2010 09:04:39 +0200 From: Baruch Siach To: Linux Media Mailing List Cc: Sascha Hauer , Baruch Siach Subject: [PATCH] mx2_camera: fix pixel clock polarity configuration Date: Wed, 27 Oct 2010 09:03:52 +0200 Message-Id: X-Mailer: git-send-email 1.7.1 X-Spam-Level: -2.212 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.62 on 62.219.50.35 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 (demeter1.kernel.org [140.211.167.41]); Wed, 27 Oct 2010 07:05:26 +0000 (UTC) diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c index 3ea2ec0..02f144f 100644 --- a/drivers/media/video/mx2_camera.c +++ b/drivers/media/video/mx2_camera.c @@ -811,8 +811,6 @@ static int mx2_camera_set_bus_param(struct soc_camera_device *icd, if (common_flags & SOCAM_PCLK_SAMPLE_RISING) csicr1 |= CSICR1_REDGE; - if (common_flags & SOCAM_PCLK_SAMPLE_FALLING) - csicr1 |= CSICR1_INV_PCLK; if (common_flags & SOCAM_VSYNC_ACTIVE_HIGH) csicr1 |= CSICR1_SOF_POL; if (common_flags & SOCAM_HSYNC_ACTIVE_HIGH)