summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-03-21 17:26:24 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2015-03-23 11:06:04 +0900
commit66bee35f29683fc4a9a530a1c56a0ec45e3f7d72 (patch)
tree79f47f38f1a4802eb8ae789e1b4516b10a424135 /drivers/thermal/ti-soc-thermal/ti-thermal-common.c
parentb9b518f53996b67833b42ca7751b2085b0dc565a (diff)
downloadop-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 'drivers/thermal/ti-soc-thermal/ti-thermal-common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud