usb: dwc3: qcom: Keep power domain on to retain controller status
authorSandeep Maheswaram <quic_c_sanm@quicinc.com>
Mon, 13 Jun 2022 04:30:54 +0000 (10:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jun 2022 14:37:34 +0000 (16:37 +0200)
commitd9be8d5c5b032e5383ff5c404ff4155e9c705429
treebaa33bb2818158cdb92581a2e16400ee6ea1cf66
parent6895ea55c385c9afdd2aec1eef27ec24917a112f
usb: dwc3: qcom: Keep power domain on to retain controller status

If dwc3 is wakeup capable, keep the power domain always ON so that
wakeup from system suspend can be supported. Otherwise, keep the
power domain ON only during runtime suspend to support wakeup from
runtime suspend.

Reviewed-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Signed-off-by: Sandeep Maheswaram <quic_c_sanm@quicinc.com>
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
Link: https://lore.kernel.org/r/1655094654-24052-6-git-send-email-quic_kriskura@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-qcom.c