dns323-setup.c: fix WARN() when booting
PATCH 1/1 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 <[email protected]>
Cc Martin Michlmayr <[email protected]>
Signed-off-by Arnaud Patard <[email protected]>
-------------- 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>