+1
−74
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This reverts commit 73f4f76a. As Mike reported, and I should've seen in review, we can't call the new LED functions, which acquire the mutex, from places like rfkill_set_sw_state() that are documented to be callable from any context the user likes to use. For Mike's case it led to a deadlock, but other scenarios are possible. Reported-by:Михаил Кринкин <krinkin.m.u@gmail.com> Signed-off-by:
Johannes Berg <johannes.berg@intel.com>