Skip to content
Commit d95cbe61 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Richard Purdie
Browse files

leds: Fix potential leds-gpio oops



Call gpio_cansleep only after gpio_request succeeded avoiding an
oops.

Signed-off-by: default avatarUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Acked-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent a9edadbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment