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 | |
parent | 407a3aee6ee2d2cb46d9ba3fc380bc29f35d020c (diff) | |
parent | 2925d366f450dc1db0ac88f2509a0eec0fef4226 (diff) | |
download | linux-stable-cfcc1456e4a2afdca85c7df3baa777f18da1d642.tar.gz linux-stable-cfcc1456e4a2afdca85c7df3baa777f18da1d642.tar.bz2 linux-stable-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.
-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) |