]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: omap: fix up error path on probe()
authorFelipe Balbi <balbi@kernel.org>
Mon, 11 Apr 2016 14:12:33 +0000 (17:12 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Apr 2016 09:35:17 +0000 (12:35 +0300)
commitc39c960a91cf81da471d167dc76c05e934eef5f8
treea5233adec37bed6c21d5475d072be5a9e5ca02cb
parent1ea8113a6ab98d6a2ce8c6640d26fc5000e3b419
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: Felipe Balbi <balbi@kernel.org>
[nsekhar@ti.com: patch description updates]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-omap.c