summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-03-09 20:42:27 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-31 23:31:13 +0100
commitd95cbe6158a679d50e03787bb1dc21ff73dac372 (patch)
tree6a4e28ed398da5405e446c5b74e46bdc1f90746f /samples
parenta9edadbf790d72adf6ebed476cb5caf7743e7e4a (diff)
downloadtalos-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
OpenPOWER on IntegriCloud