From patchwork Fri Jul 13 11:37:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 1195251 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3F2993FC4C for ; Fri, 13 Jul 2012 11:37:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756299Ab2GMLhk (ORCPT ); Fri, 13 Jul 2012 07:37:40 -0400 Received: from perceval.ideasonboard.com ([95.142.166.194]:58831 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756040Ab2GMLhj (ORCPT ); Fri, 13 Jul 2012 07:37:39 -0400 Received: from avalon.ideasonboard.com (unknown [91.178.159.246]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2FD097ACB; Fri, 13 Jul 2012 13:37:38 +0200 (CEST) From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: Jean-Philippe Francois , Sakari Ailus Subject: [PATCH v3 1/6] omap3isp: preview: Fix contrast and brightness handling Date: Fri, 13 Jul 2012 13:37:33 +0200 Message-Id: <1342179458-1037-2-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1342179458-1037-1-git-send-email-laurent.pinchart@ideasonboard.com> References: <1342179458-1037-1-git-send-email-laurent.pinchart@ideasonboard.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Commit bac387efbb88cf0e8df6f46a38387897cea464ee ("omap3isp: preview: Simplify configuration parameters access") added three fields to the preview_update structure, but failed to properly update the related initializers. Fix this. Signed-off-by: Laurent Pinchart --- drivers/media/video/omap3isp/isppreview.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/omap3isp/isppreview.c b/drivers/media/video/omap3isp/isppreview.c index 99d5cc4..a06af90 100644 --- a/drivers/media/video/omap3isp/isppreview.c +++ b/drivers/media/video/omap3isp/isppreview.c @@ -888,12 +888,12 @@ static const struct preview_update update_attrs[] = { preview_config_contrast, NULL, offsetof(struct prev_params, contrast), - 0, true, + 0, 0, true, }, /* OMAP3ISP_PREV_BRIGHTNESS */ { preview_config_brightness, NULL, offsetof(struct prev_params, brightness), - 0, true, + 0, 0, true, }, };