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

From: Felipe Balbi
Date: Sat Mar 25 2017 - 03:54:30 EST



Hi,

Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx>

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.

--
balbi