Commit 97d68a8b authored by Amar Singhal's avatar Amar Singhal
Browse files

kernel/main: fix calling sysfs_notify from atomic context



Sysfs_notify takes a mutex and therefore cannot be called from atomic
context like interrupt handler in this case. Use a workqueue to schedule
the work instead.

Change-Id: I0a5230fe379aa51f1065df4af9b27f471aa22440
Signed-off-by: default avatarAmar Singhal <asinghal@codeaurora.org>
parent 8405e3e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment