diff options
author | Peter Chen <peter.chen@nxp.com> | 2020-01-23 10:49:19 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-03-16 11:13:47 +0800 |
commit | 7fd87c956c0ab5633f20597cb828713f9c03aa5b (patch) | |
tree | 61ee09246de006fe2a709973fe5271dec4f3fdf9 /drivers/scsi/hosts.c | |
parent | 6a7c533d4a1854f54901a065d8c672e890400d8a (diff) |
usb: chipidea: udc: using structure ci_hdrc device for runtime PM
At current code, it doesn't maintain ci->gadget.dev's runtime PM
status well, eg, during the PM operation, the PM counter for
ci->gadget.dev doesn't be changed accordingly.
In this commit, we use ci_hdrc device instead of ci->gadget.dev
for runtime PM APIs at udc driver, in the way, we handle runtime
PM APIs using unify device structure between core and udc driver.
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/scsi/hosts.c')
0 files changed, 0 insertions, 0 deletions