From: Arnaud Patard Date: Sat, 3 Apr 2010 08:31:33 +0000 (+0200) Subject: [ARM] dns323-setup.c: fix WARN() when booting X-Git-Tag: v2.6.35-rc1~503^2~1^2~1^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ccc8dab611fcd1d0961b73e22d6c2d108967862;p=pandora-kernel.git [ARM] dns323-setup.c: fix WARN() when booting Since commit b2a731aa5cbca7e0252da75e16de7ae5feb1313a, dns323_init() is setting the power led gpio direction with gpio_direction_output() but doesn't request the gpio before (which is not permitted by the gpio layer afaik). This behaviour is triggering a WARN() at boot time. Tested-by: Christian Samsel Cc: Martin Michlmayr Signed-off-by: Arnaud Patard Signed-off-by: Nicolas Pitre [ Part 2: "Attached Text" ] --- Reading git-diff-tree failed