On Fri, Mar 26, 2021 at 02:25:09PM +0400, Artur Petrosyan wrote:
In host mode port connection status flag is "0" when loading the driver. After loading the driver system asserts suspend which is handled by "_dwc2_hcd_suspend()" function. Before the system suspend the port connection status is "0". As result need to check the "port_connect_status" if it is "0", then skipping entering to suspend.
Cc: stable@vger.kernel.org # 5.2 Fixes: 6f6d70597c15 ("usb: dwc2: bus suspend/resume for hosts with DWC2_POWER_DOWN_PARAM_NONE")
In the future, do not line-wrap the fixes line.
thanks,
greg k-h