+13
−11
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
mlock is intended to protect only switches between modes. Given this driver doesn't support more than one mode (sysfs polled reads only), replace mlock with a local mutex lock. Signed-off-by:sayli karnik <karniksayli1995@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>