Commits
Peter Chen committed 55276da7e45
MLK-20343 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, after system resume, call pm_runtime_put_sync for ci->dev will cause ci->dev's runtime suspend is called if its power.usage is 0 even the power.usage is 1 for its child ci->gadget.dev. at that time. It causes the oops this ticket describes that visiting clock without AHB clock. To fix this issue, 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 for single device structure. Reviewed-by: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>