]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc2: host: don't clear hprt0 status bits when exiting hibernation
authorGregory Herrero <gregory.herrero@intel.com>
Tue, 22 Sep 2015 13:16:37 +0000 (15:16 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:14 +0000 (12:40 -0500)
commitcc047ce4be6188d3bd3997b44ec724ce390fbdcb
treed9dff6998204edbed4b3a4cf8552b3775c0d1049
parent70f3a9caa11665e9f9aace581d85d8483716a4c8
usb: dwc2: host: don't clear hprt0 status bits when exiting hibernation

When entering hibernation hprt0 must be read using dwc2_read_hprt0().
Otherwise, any set hprt0 status bits will be cleared when restoring
hprt0 on exit from hibernation.

Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Tested-by: John Youn <johnyoun@synopsys.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.c