diff options
author | Hans de Goede <[email protected]> | 2015-03-21 17:26:24 +0100 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2015-03-23 11:06:04 +0900 |
commit | 66bee35f29683fc4a9a530a1c56a0ec45e3f7d72 (patch) | |
tree | 79f47f38f1a4802eb8ae789e1b4516b10a424135 /tools/perf/scripts/python/sched-migration.py | |
parent | b9b518f53996b67833b42ca7751b2085b0dc565a (diff) |
extcon: Fix missing locking when [un]registering notifiers
Since extcon.c is using raw_notifiers it must protect the notifier
list itself when [un]registering notifiers to avoid the list changing while
extcon_update_state is walking the list (through raw_notifier_call_chain).
Signed-off-by: Hans de Goede <[email protected]>
[cw00.choi: Apply this patch to extcon.c driver instead of old extcon-class.c]
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions