]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
usb: chipidea: otg: handling vbus disconnect event occurred during system suspend
authorPeter Chen <peter.chen@nxp.com>
Wed, 19 Feb 2020 09:25:48 +0000 (17:25 +0800)
committerPeter Chen <peter.chen@nxp.com>
Mon, 16 Mar 2020 03:13:47 +0000 (11:13 +0800)
commit3ac82cf3f80c2ddc1964408a213f84ac538875dc
tree2b3dcba2f9effefae9fd1b2326bcc1898dfad7ef
parent7fd87c956c0ab5633f20597cb828713f9c03aa5b
usb: chipidea: otg: handling vbus disconnect event occurred during system suspend

During system suspend, the role switch may occur, eg, from gadget->host.
In this case, the vbus disconnect event is lost, we add this handling
in role switch routine in this commit.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/otg.c