[PATCH 2/7] usb: dwc3: dwc3-omap: fix dwc3_omap_probe() do put_sync when get_sync works

Felipe Balbi balbi at kernel.org
Sat Mar 25 00:53:17 PDT 2017


Shuah Khan <shuahkh at osg.samsung.com> writes:
> dwc3_omap_probe() does pm_runtime_put_sync() in its err1 handling when
> pm_runtime_get_sync() fails.  Fix it to do put_sync only when get_sync
> succeeds.
> Signed-off-by: Shuah Khan <shuahkh at osg.samsung.com>

sorry, not taking any of these pointless patches. There's nothing wrong
with the goto labels, there's nothing wrong with the error path in any
of these drivers.


More information about the linux-arm-kernel mailing list