]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 May 2025 11:35:39 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 May 2025 11:35:39 +0000 (13:35 +0200)
added patches:
phy-tegra-xusb-remove-a-stray-unlock.patch

queue-6.14/phy-tegra-xusb-remove-a-stray-unlock.patch [new file with mode: 0644]
queue-6.14/series

diff --git a/queue-6.14/phy-tegra-xusb-remove-a-stray-unlock.patch b/queue-6.14/phy-tegra-xusb-remove-a-stray-unlock.patch
new file mode 100644 (file)
index 0000000..dd92c26
--- /dev/null
@@ -0,0 +1,35 @@
+From 83c178470e0bf690d34c8c08440f2421b82e881c Mon Sep 17 00:00:00 2001
+From: Dan Carpenter <dan.carpenter@linaro.org>
+Date: Wed, 23 Apr 2025 16:08:23 +0300
+Subject: phy: tegra: xusb: remove a stray unlock
+
+From: Dan Carpenter <dan.carpenter@linaro.org>
+
+commit 83c178470e0bf690d34c8c08440f2421b82e881c upstream.
+
+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: b47158fb4295 ("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>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/phy/tegra/xusb-tegra186.c |    2 --
+ 1 file changed, 2 deletions(-)
+
+--- a/drivers/phy/tegra/xusb-tegra186.c
++++ b/drivers/phy/tegra/xusb-tegra186.c
+@@ -656,8 +656,6 @@ static void tegra186_utmi_bias_pad_power
+       } else {
+               clk_disable_unprepare(priv->usb2_trk_clk);
+       }
+-
+-      mutex_unlock(&padctl->lock);
+ }
+ static void tegra186_utmi_bias_pad_power_off(struct tegra_xusb_padctl *padctl)
index ce1b73e4a844751a3a61ebf1ab1f0c57a52b63f3..c3204191e1810ff85041c4dd38ad98a97e0b3712 100644 (file)
@@ -142,3 +142,4 @@ accel-ivpu-flush-pending-jobs-of-device-s-workqueues.patch
 drm-xe-gsc-do-not-flush-the-gsc-worker-from-the-reset-path.patch
 mm-page_alloc-fix-race-condition-in-unaccepted-memory-handling.patch
 perf-tools-fix-build-error-for-loongarch.patch
+phy-tegra-xusb-remove-a-stray-unlock.patch