diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-26 10:32:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-26 10:32:09 +0200 |
commit | cfcc1456e4a2afdca85c7df3baa777f18da1d642 (patch) | |
tree | c7c6ecb78f29dd9e277645730c172db414467b7e /drivers | |
parent | hv: do not lose pending heartbeat vmbus packets (diff) | |
parent | extcon: qcom-spmi-misc: Sync the extcon state on interrupt (diff) | |
download | linux-cfcc1456e4a2afdca85c7df3baa777f18da1d642.tar.xz linux-cfcc1456e4a2afdca85c7df3baa777f18da1d642.zip |
Merge tag 'extcon-fixes-for-4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-linus
Chanwoo writes:
Update extcon for v4.9-rc3
This patch fixes the following issue:
- Use the extcon_set_state_sync() to notify the changed state
intead of extcon_set_state() in the Qualcomm USB extcon driver.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/extcon/extcon-qcom-spmi-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-qcom-spmi-misc.c b/drivers/extcon/extcon-qcom-spmi-misc.c index ca957a5f4291..b8cde096a808 100644 --- a/drivers/extcon/extcon-qcom-spmi-misc.c +++ b/drivers/extcon/extcon-qcom-spmi-misc.c @@ -51,7 +51,7 @@ static void qcom_usb_extcon_detect_cable(struct work_struct *work) if (ret) return; - extcon_set_state(info->edev, EXTCON_USB_HOST, !id); + extcon_set_state_sync(info->edev, EXTCON_USB_HOST, !id); } static irqreturn_t qcom_usb_irq_handler(int irq, void *dev_id) |