[PATCH] dns323-setup.c: fix WARN() when booting

Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Sat Apr 3 04:31:33 EDT 2010


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 <csamsel at gmxpro.de>
Cc: Martin Michlmayr <tbm at cyrius.com>
Signed-off-by: Arnaud Patard <arnaud.patard at rtp-net.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: led.patch
Type: text/x-diff
Size: 491 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100403/0dfe8253/attachment.bin>


More information about the linux-arm-kernel mailing list