diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2018-06-14 04:16:29 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2018-07-12 02:06:31 +0200 |
commit | 8a9dbb779fe882325b9a0238494a7afaff2eb444 (patch) | |
tree | 9336d0a22a8fd604815f6bfd1620258932a2e0be /lib/pci_iomap.c | |
parent | extcon: usbc-cros-ec: Switch to SPDX identifier. (diff) | |
download | linux-8a9dbb779fe882325b9a0238494a7afaff2eb444.tar.xz linux-8a9dbb779fe882325b9a0238494a7afaff2eb444.zip |
extcon: Release locking when sending the notification of connector state
Previously, extcon used the spinlock before calling the notifier_call_chain
to prevent the scheduled out of task and to prevent the notification delay.
When spinlock is locked for sending the notification, deadlock issue
occured on the side of extcon consumer device. To fix this issue,
extcon consumer device should always use the work. it is always not
reasonable to use work.
To fix this issue on extcon consumer device, release locking when sending
the notification of connector state.
Fixes: ab11af049f88 ("extcon: Add the synchronization extcon APIs to support the notification")
Cc: stable@vger.kernel.org
Cc: Roger Quadros <rogerq@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'lib/pci_iomap.c')
0 files changed, 0 insertions, 0 deletions