Skip to content
Commit 306dd85c authored by David Brownell's avatar David Brownell Committed by Richard Purdie
Browse files

leds: Remove incorrect use of preempt_count() from leds-gpio



It appears that we can't just check to see if we're in a task
context ... so instead of trying that, just make the relevant
leds always schedule a little worklet.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent d95cbe61
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