]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
usb: ohci-at91: Set RemoteWakeupConnected bit explicitly.
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 29 Sep 2016 10:07:07 +0000 (18:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 12:29:08 +0000 (14:29 +0200)
commited19ece135a6908244e22e4ab395165999a4d3ab
tree2ebe7351d98a40cb0654ac8aa90c5771485c659a
parent36de70ea8d237b66b9aa579a9ee0cb259eb5192d
usb: ohci-at91: Set RemoteWakeupConnected bit explicitly.

The reset value of RWC is 0, set RemoteWakeupConnected bit explicitly
before calling ohci_run, it also fixes the issue that the mass
storage stick connected wasn't suspended when the system suspend.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-at91.c