Skip to contentSkip to conversation

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

PATCH New Arnaud Patard (Rtp) 1 participant 1 message Apr 3, 2010

lore
Share & tools
lore
#0 lore raw

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.

-------------- 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>