From patchwork Mon Sep 23 21:41:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2930381 Return-Path: X-Original-To: patchwork-linux-omap@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 3C7E3BFF05 for ; Mon, 23 Sep 2013 21:45:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E25D2038B for ; Mon, 23 Sep 2013 21:45:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A47A52037D for ; Mon, 23 Sep 2013 21:45:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754579Ab3IWVoq (ORCPT ); Mon, 23 Sep 2013 17:44:46 -0400 Received: from mail-bk0-f50.google.com ([209.85.214.50]:47251 "EHLO mail-bk0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754361Ab3IWVmo (ORCPT ); Mon, 23 Sep 2013 17:42:44 -0400 Received: by mail-bk0-f50.google.com with SMTP id mz11so1374267bkb.23 for ; Mon, 23 Sep 2013 14:42:42 -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=yhDP78UAKSOpmn0hOCiuCeUhEbyUems/Rf/VMvxCSvs=; b=TXI4OXmIW8XoGxqs671QMot6sCWFLvB0NG/JaFPSVZWykxwgpONZgqrz9JopJnhvaZ ejle9yd+/vmEfhudOuvWd4Uw5D7TdPpy3dVSHBTWbOb8+rzhUb776VXLfg5NYYi9gzRT Ji12AqpUUR3hoZ+1edKtz2qjULknx9PRz4zMDHD0RFJwvOE1sfYfMm/hFEWFYDMMkHXn V/Mq6oo84Lzg2eqL65LXNs8Yl+A6CtaMbI4am9QVvBWr7mEZQdvKdN/rz7ie1NXWNYKz bA2YjIfrqV5c5T0g4dnqv3IeSJ2NfRsr3xoLR8Qo/0OVUgAabJXFVkmzQcgDeUnj9kzC txsg== X-Received: by 10.204.228.10 with SMTP id jc10mr6353969bkb.26.1379972562616; Mon, 23 Sep 2013 14:42:42 -0700 (PDT) Received: from localhost (port-13639.pppoe.wtnet.de. [84.46.53.124]) by mx.google.com with ESMTPSA id pk7sm9651753bkb.2.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 23 Sep 2013 14:42:41 -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 06/10] ARM: shmobile: Initialize PWM backlight enable_gpio field Date: Mon, 23 Sep 2013 23:41:03 +0200 Message-Id: <1379972467-11243-7-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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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 Acked-by: Simon Horman --- arch/arm/mach-shmobile/board-armadillo800eva.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 7f8f607..6ccb854 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c @@ -423,6 +423,7 @@ static struct platform_pwm_backlight_data pwm_backlight_data = { .max_brightness = 255, .dft_brightness = 255, .pwm_period_ns = 33333, /* 30kHz */ + .enable_gpio = -1, }; static struct platform_device pwm_backlight_device = {