Skip to content

Commit 83c1784

Browse files
Dan Carpentervinodkoul
authored andcommitted
phy: tegra: xusb: remove a stray unlock
We used to take a lock in tegra186_utmi_bias_pad_power_on() but now we have moved the lock into the caller. Unfortunately, when we moved the lock this unlock was left behind and it results in a double unlock. Delete it now. Fixes: b47158f ("phy: tegra: xusb: Use a bitmask for UTMI pad power state tracking") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/aAjmR6To4EnvRl4G@stanley.mountain Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent f947505 commit 83c1784

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/phy/tegra/xusb-tegra186.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,6 @@ static void tegra186_utmi_bias_pad_power_on(struct tegra_xusb_padctl *padctl)
656656
} else {
657657
clk_disable_unprepare(priv->usb2_trk_clk);
658658
}
659-
660-
mutex_unlock(&padctl->lock);
661659
}
662660

663661
static void tegra186_utmi_bias_pad_power_off(struct tegra_xusb_padctl *padctl)

0 commit comments

Comments
 (0)