Commit 29591c2
input: ltr559: Avoid mutex deadlock when setting poll delay
* This is a classic
mutex_lock() / cancel_delayed_work_sync()
where the delayed work function attempts to take
the same mutex too.
* This should fix
https://jira.lineageos.org/browse/BUGBASH-865
Change-Id: Iecededf5e61f5b41cd9d8eea51c94725d546d6dc1 parent 58089d1 commit 29591c2
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| 798 | + | |
798 | 799 | | |
799 | 800 | | |
800 | 801 | | |
| |||
803 | 804 | | |
804 | 805 | | |
805 | 806 | | |
806 | | - | |
| 807 | + | |
| 808 | + | |
807 | 809 | | |
| 810 | + | |
808 | 811 | | |
809 | 812 | | |
810 | | - | |
811 | 813 | | |
812 | 814 | | |
813 | 815 | | |
| |||
0 commit comments