MLK-22527-2 usb: cdns3: quit if the port is woken up during suspending
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Jul 2019 10:05:35 +0000 (18:05 +0800)
committerPeter Chen <peter.chen@nxp.com>
Tue, 10 Sep 2019 08:58:48 +0000 (16:58 +0800)
commitd62326d5ccf4ab5832c504360a96f2f03b542c2a
treec03b53d7feda6248fdd7b96c3947302d64bf06d6
parentbca66d3f0887d320d1e970dac7f825a58e5801b2
MLK-22527-2 usb: cdns3: quit if the port is woken up during suspending

If the port receives the resume during the suspending, it needs to
quit instead of going on, it could keep controller status correct,
and eliminating below timeout warning message.

cdns-usb3 5b110000.usb3: wait lpm_clk_req timeout
cdns-usb3 5b110000.usb3: wait phy_refclk_req timeout

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/core.c
drivers/usb/cdns3/host.c