From patchwork Mon Sep 23 21:41:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2930501 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 65200BFF05 for ; Mon, 23 Sep 2013 21:46:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98BC42037D for ; Mon, 23 Sep 2013 21:46:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D52A12010A for ; Mon, 23 Sep 2013 21:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754629Ab3IWVpt (ORCPT ); Mon, 23 Sep 2013 17:45:49 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:47481 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589Ab3IWVmi (ORCPT ); Mon, 23 Sep 2013 17:42:38 -0400 Received: by mail-bk0-f46.google.com with SMTP id 6so1390734bkj.33 for ; Mon, 23 Sep 2013 14:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4y/1Cxag8sVpye0ti4zr7os+6fkajPRkOEiexmaEAt4=; b=BqOwB3XtI11w56wGyZoBgJqTHt4oyp2mWI1Js02Ee3/t74PhFhLiPYRIYC0TF+BzYX JxWEDA1xopLBQ0PmtGhiUhmtt36VPOVX+AnkPPxZZLElhFLoIi3Kyd27c1ysGZHatjXz kv2Pyi/weuIgg4T+p9TBJ8mesytJOajbtC4ZZu37B8H/GBspwujY00aP0hR5gvEm/ng6 QcytrFDBXmD2NxwEvxI3KKH/ElgCe7lZ7Ovf01T6+Hc/29iQFSR47zgrfICyHCLe2XTZ 0dKtaWnf0V2qfYB1yotHFv+bnQkiRC0gCGCwTsun6q6GLSOn7AZ3EFMTz03AQS/fnEwe Rh9A== X-Received: by 10.205.35.15 with SMTP id su15mr19559578bkb.21.1379972556100; Mon, 23 Sep 2013 14:42:36 -0700 (PDT) Received: from localhost (port-13639.pppoe.wtnet.de. [84.46.53.124]) by mx.google.com with ESMTPSA id b6sm9646987bko.16.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 23 Sep 2013 14:42:35 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Tony Lindgren , Eric Miao , Haojian Zhuang , Ben Dooks , Kukjin Kim , Simon Horman , Magnus Damm , Guan Xuetao , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, openezx-devel@lists.openezx.org, linux-samsung-soc@vger.kernel.org, linux-sh@vger.kernel.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/10] ARM: OMAP: Initialize PWM backlight enable_gpio field Date: Mon, 23 Sep 2013 23:41:00 +0200 Message-Id: <1379972467-11243-4-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1379972467-11243-1-git-send-email-treding@nvidia.com> References: <1379972467-11243-1-git-send-email-treding@nvidia.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 The GPIO API defines 0 as being a valid GPIO number, so this field needs to be initialized explicitly. Signed-off-by: Thierry Reding --- arch/arm/mach-omap2/board-zoom-peripherals.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c index a90375d..5ed2884 100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c @@ -227,6 +227,7 @@ static struct platform_pwm_backlight_data zoom_backlight_data = { .max_brightness = 127, .dft_brightness = 127, .pwm_period_ns = 7812500, + .enable_gpio = -1, }; static struct platform_device zoom_backlight_pwm = {