commit | d95cbe6158a679d50e03787bb1dc21ff73dac372 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | Sun Mar 09 20:42:27 2008 +0000 |
committer | Richard Purdie <rpurdie@rpsys.net> | Mon Mar 31 23:31:13 2008 +0100 |
tree | 6a4e28ed398da5405e446c5b74e46bdc1f90746f | |
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>