summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-qcom-spmi-misc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-30 06:42:10 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-30 06:42:10 -0400
commit5131dcd7810806fe4ff81ca23dadb47921285e36 (patch)
treee3fb4dd65c6807fae3a5215cf1310eafecdeb86f /drivers/extcon/extcon-qcom-spmi-misc.c
parent463e2a2b8996aabc0dca67cc716a00e30bffc110 (diff)
parenta909d3e636995ba7c349e2ca5dbb528154d4ac30 (diff)
downloadlinux-5131dcd7810806fe4ff81ca23dadb47921285e36.tar.gz
linux-5131dcd7810806fe4ff81ca23dadb47921285e36.tar.xz
Merge 4.9-rc3 into tty-next
We want the serial/tty fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon/extcon-qcom-spmi-misc.c')
-rw-r--r--drivers/extcon/extcon-qcom-spmi-misc.c2
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)