usb: dwc3: omap: fix up error path on probe()
Even if pm_runtime_get*() fails, we *MUST* call pm_runtime_put_sync() before disabling PM. While at it, remove superfluous dwc3_omap_disable_irqs() in error path. Signed-off-by: NFelipe Balbi <balbi@kernel.org> [nsekhar@ti.com: patch description updates] Signed-off-by: NSekhar Nori <nsekhar@ti.com> Signed-off-by: NRoger Quadros <rogerq@ti.com> Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
Showing
想要评论请 注册 或 登录