Skip to content

Commit

Permalink
Merge tag 'extcon-fixes-for-4.9-rc3' of git://git.kernel.org/pub/scm/…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
Greg Kroah-Hartman committed Oct 26, 2016
2 parents 407a3ae + 2925d36 commit cfcc145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/extcon/extcon-qcom-spmi-misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cfcc145

Please sign in to comment.