diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-03-21 17:26:24 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-23 11:06:04 +0900 |
commit | 66bee35f29683fc4a9a530a1c56a0ec45e3f7d72 (patch) | |
tree | 79f47f38f1a4802eb8ae789e1b4516b10a424135 /sound/soc/codecs/wm8904.h | |
parent | b9b518f53996b67833b42ca7751b2085b0dc565a (diff) | |
download | op-kernel-dev-66bee35f29683fc4a9a530a1c56a0ec45e3f7d72.zip op-kernel-dev-66bee35f29683fc4a9a530a1c56a0ec45e3f7d72.tar.gz |
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 <hdegoede@redhat.com>
[cw00.choi: Apply this patch to extcon.c driver instead of old extcon-class.c]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'sound/soc/codecs/wm8904.h')
0 files changed, 0 insertions, 0 deletions