diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-10-18 02:16:02 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2016-10-26 09:04:29 +0200 |
commit | 2925d366f450dc1db0ac88f2509a0eec0fef4226 (patch) | |
tree | 3a716c73567b80cf866d88ee0d8794d9b02e6e2a /drivers/extcon/extcon-rt8973a.h | |
parent | Linux 4.9-rc2 (diff) | |
download | linux-2925d366f450dc1db0ac88f2509a0eec0fef4226.tar.xz linux-2925d366f450dc1db0ac88f2509a0eec0fef4226.zip |
extcon: qcom-spmi-misc: Sync the extcon state on interrupt
The driver was changed after submission to use the new style APIs
like extcon_set_state(). Unfortunately, that only sets the state,
and doesn't notify any consumers that the cable state has
changed. Use extcon_set_state_sync() here instead so that we
notify cable consumers of the state change. This fixes USB
host-device role switching on the db8074 platform.
Fixes: 38085c987f52 ("extcon: Add support for qcom SPMI PMIC USB id detection hardware")
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-rt8973a.h')
0 files changed, 0 insertions, 0 deletions