From patchwork Wed Sep 18 21:52:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 2909621 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 25395BFF05 for ; Wed, 18 Sep 2013 21:54:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 63450203F0 for ; Wed, 18 Sep 2013 21:54:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A6A0203E8 for ; Wed, 18 Sep 2013 21:54:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753098Ab3IRVyb (ORCPT ); Wed, 18 Sep 2013 17:54:31 -0400 Received: from mail-ea0-f181.google.com ([209.85.215.181]:42428 "EHLO mail-ea0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751873Ab3IRVya (ORCPT ); Wed, 18 Sep 2013 17:54:30 -0400 Received: by mail-ea0-f181.google.com with SMTP id d10so3715241eaj.26 for ; Wed, 18 Sep 2013 14:54:29 -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:mime-version:content-type :content-transfer-encoding; bh=h41I1E/gOD9ZyAOxNFxsvYKfOTg1JyLIWoVLsgbZ2+c=; b=UfNt425+YWwcqEY7mHPE7wCrcYRojzeN/9UqcAAvPrW8Olp6fy5n5UlvEBcnEl6Egp 7lA75W0XIk5o+E791z5jORYfbLWqIOSpKD2Y64NsQcXPkc5kAZwmVVjg52x8BrM6oDBt AJY3mXsf1jD1yiElw4Xz/L2l76UBVcLRQSA+qjpeGBVdfQAxofqNiSsicQuzaLVPRZEB q8fLJmi9dnSJWazITK0zVH3om5+feZS0egsMh8vio36v7dieZ6l9HRRRSOslWFnqfg5A RnhKPv2dGuEfJpXWdzJdanuIqYm66+uYy/q8LiP1Z44oEKS8E/RAJmoA3we5HaQy6a7F 9DLA== X-Received: by 10.15.54.199 with SMTP id t47mr22836012eew.46.1379541269293; Wed, 18 Sep 2013 14:54:29 -0700 (PDT) Received: from Pali-EliteBook.kolej.mff.cuni.cz (pali.kolej.mff.cuni.cz. [78.128.193.202]) by mx.google.com with ESMTPSA id d8sm6354204eeh.8.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Sep 2013 14:54:28 -0700 (PDT) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Tony Lindgren , Russell King Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: =?UTF-8?q?=5BPATCH=5D=20RX-51=3A=20Add=20missing=20max=5Fcurrent=20to=20rx51=5Flp5523=5Fled=5Fconfig?= Date: Wed, 18 Sep 2013 23:52:25 +0200 Message-Id: <1379541145-25934-1-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 Without max_current data in board file lp5523 driver does not change current. Signed-off-by: Pali Rohár --- arch/arm/mach-omap2/board-rx51-peripherals.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 9326890..d0f857c 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -180,38 +180,47 @@ static struct lp55xx_led_config rx51_lp5523_led_config[] = { .name = "lp5523:kb1", .chan_nr = 0, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:kb2", .chan_nr = 1, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:kb3", .chan_nr = 2, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:kb4", .chan_nr = 3, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:b", .chan_nr = 4, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:g", .chan_nr = 5, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:r", .chan_nr = 6, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:kb5", .chan_nr = 7, .led_current = 50, + .max_current = 255, }, { .name = "lp5523:kb6", .chan_nr = 8, .led_current = 50, + .max_current = 255, } };