usb: cdns3: add hibernation pm notifier to set roothub wakeup 83/301883/2
authorminda.chen <minda.chen@starfivetech.com>
Tue, 17 Oct 2023 06:29:59 +0000 (15:29 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 27 Nov 2023 06:16:34 +0000 (15:16 +0900)
commitd5a3fbda7243a6e179a753fe9e9a941f904a28fc
tree542d06265bddd42fb03de4fb9b012d12f6fb0f4f
parent60a19eddc28c8806b24ef578d68c2c5aee66f40d
usb: cdns3: add hibernation pm notifier to set roothub wakeup

In hibernation resume case. usb devices maybe not emulated,
roothub is suspended, In this case, usb devices will be resume
fail. Set roothub active while hibernation resume.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
[hoegeun.kwon: cherry-pick the commit d86ba4820f59 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: Idd244d8d3e50fd8e84cb72ff5fcdb50ff4399788
drivers/usb/cdns3/cdns3-starfive.c
drivers/usb/cdns3/core.h
drivers/usb/cdns3/host.c