Skip to content

Commit cfcc145

Browse files
committed
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.
2 parents 407a3ae + 2925d36 commit cfcc145

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/extcon/extcon-qcom-spmi-misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static void qcom_usb_extcon_detect_cable(struct work_struct *work)
5151
if (ret)
5252
return;
5353

54-
extcon_set_state(info->edev, EXTCON_USB_HOST, !id);
54+
extcon_set_state_sync(info->edev, EXTCON_USB_HOST, !id);
5555
}
5656

5757
static irqreturn_t qcom_usb_irq_handler(int irq, void *dev_id)

0 commit comments

Comments
 (0)