]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd00fbaed356335d95de35914227b06859ecb5f7a
treebaa33bb2818158cdb92581a2e16400ee6ea1cf66
parent89a3f74b8a273b1ff8a21ce8cf8cbad4f3bdd15a
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