diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-03-09 20:42:27 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-03-31 23:31:13 +0100 |
commit | d95cbe6158a679d50e03787bb1dc21ff73dac372 (patch) | |
tree | 6a4e28ed398da5405e446c5b74e46bdc1f90746f /samples | |
parent | a9edadbf790d72adf6ebed476cb5caf7743e7e4a (diff) | |
download | talos-op-linux-d95cbe6158a679d50e03787bb1dc21ff73dac372.tar.gz talos-op-linux-d95cbe6158a679d50e03787bb1dc21ff73dac372.zip |
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 'samples')
0 files changed, 0 insertions, 0 deletions