usb: cdns3: add hibernation pm notifier to set roothub wakeup
authorminda.chen <minda.chen@starfivetech.com>
Mon, 30 Jan 2023 09:12:36 +0000 (01:12 -0800)
committerminda.chen <minda.chen@starfivetech.com>
Wed, 1 Feb 2023 06:48:04 +0000 (14:48 +0800)
commitdbb6aa5ac8670fc5ae576a2422bc5957e3297d69
tree84f720d0a40e617c850d650b73622952fcf39386
parent7f21d0a774a952097ba9a7d3c60f9f7dc202acd1
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>
drivers/usb/cdns3/cdns3-starfive.c
drivers/usb/cdns3/core.h
drivers/usb/cdns3/host.c