1
0
Fork 0
alistair23-linux/drivers/extcon
Stephen Boyd 2925d366f4 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: 38085c987f ("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>
2016-10-26 16:04:29 +09:00
..
Kconfig extcon: Add support for qcom SPMI PMIC USB id detection hardware 2016-09-13 11:26:26 +09:00
Makefile extcon: Add support for qcom SPMI PMIC USB id detection hardware 2016-09-13 11:26:26 +09:00
devres.c extcon: Add resource-managed functions to register extcon notifier 2016-06-27 21:03:23 +09:00
extcon-adc-jack.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-arizona.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-axp288.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-gpio.c Merge branch 'next' into resolution 2016-09-15 16:45:20 +05:30
extcon-max3355.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-max8997.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-max14577.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-max77693.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-max77843.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-palmas.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-qcom-spmi-misc.c extcon: qcom-spmi-misc: Sync the extcon state on interrupt 2016-10-26 16:04:29 +09:00
extcon-rt8973a.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-rt8973a.h extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-sm5502.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon-sm5502.h extcon: sm5502: Move sm5502.h header file to extcon directory 2014-09-22 11:43:08 +09:00
extcon-usb-gpio.c extcon: Use the extcon_set_state_sync() instead of deprecated functions 2016-09-13 11:26:26 +09:00
extcon.c extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer device 2016-09-10 16:48:57 +05:30