diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-03-09 16:42:27 -0400 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-03-31 18:31:13 -0400 |
commit | d95cbe6158a679d50e03787bb1dc21ff73dac372 (patch) | |
tree | 6a4e28ed398da5405e446c5b74e46bdc1f90746f /drivers/leds/leds-wrap.c | |
parent | a9edadbf790d72adf6ebed476cb5caf7743e7e4a (diff) |
leds: Fix potential leds-gpio oops
Call gpio_cansleep only after gpio_request succeeded avoiding an
oops.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/leds/leds-wrap.c')
0 files changed, 0 insertions, 0 deletions