[PATCH] usb: dwc3: meson-g12a: disable clk on error handling path in probe

Martin Blumenstingl martin.blumenstingl at googlemail.com
Wed Nov 11 14:42:02 EST 2020


On Wed, Nov 11, 2020 at 10:48 AM Zheng Zengkai <zhengzengkai at huawei.com> wrote:
>
> dwc3_meson_g12a_probe() does not invoke clk_bulk_disable_unprepare()
> on one error handling path. This patch fixes that.
>
> Fixes: 347052e3bf1b ("usb: dwc3: meson-g12a: fix USB2 PHY initialization on G12A and A1 SoCs")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Zheng Zengkai <zhengzengkai at huawei.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>

many thanks for this fix!


Best regards
Martin



More information about the linux-amlogic mailing list