[PATCH] phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe()

Vinod Koul vkoul at kernel.org
Wed Apr 20 02:13:03 PDT 2022


On 15-04-22, 16:03, Heiner Kallweit wrote:
> If clk_prepare_enable() fails we call clk_disable_unprepare()
> in the error path what results in a warning that the clock
> is disabled and unprepared already.
> And if we fail later in phy_g12a_usb3_pcie_probe() then we
> bail out w/o calling clk_disable_unprepare().
> This patch fixes both errors.

Applied, thanks

-- 
~Vinod



More information about the linux-arm-kernel mailing list