Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a477737 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

extcon: usb-gpio: Queue detectable workqueue on resume



Upon resume/restore queue detectable work
irrespective of the device wakeup capability.
This ensures that during pm_restore the dwc3-msm
driver is notified correctly of the GPIO states
before restore.

Change-Id: Iff955de39d83f3fb55537eeaf65ea8eb014c5513
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 2431b7df
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -277,7 +277,6 @@ static int usb_extcon_resume(struct device *dev)
	if (info->vbus_gpiod)
		enable_irq(info->vbus_irq);

	if (!device_may_wakeup(dev))
	queue_delayed_work(system_power_efficient_wq,
			   &info->wq_detcable, 0);