]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Aug 2023 17:12:15 +0000 (19:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Aug 2023 17:12:15 +0000 (19:12 +0200)
added patches:
asoc-rt5665-add-missed-regulator_bulk_disable.patch

queue-4.14/asoc-rt5665-add-missed-regulator_bulk_disable.patch [new file with mode: 0644]
queue-4.14/series

diff --git a/queue-4.14/asoc-rt5665-add-missed-regulator_bulk_disable.patch b/queue-4.14/asoc-rt5665-add-missed-regulator_bulk_disable.patch
new file mode 100644 (file)
index 0000000..521cd04
--- /dev/null
@@ -0,0 +1,33 @@
+From c163108e706909570f8aa9aa5bcf6806e2b4c98c Mon Sep 17 00:00:00 2001
+From: Zhang Shurong <zhang_shurong@foxmail.com>
+Date: Tue, 1 Aug 2023 23:59:11 +0800
+Subject: ASoC: rt5665: add missed regulator_bulk_disable
+
+From: Zhang Shurong <zhang_shurong@foxmail.com>
+
+commit c163108e706909570f8aa9aa5bcf6806e2b4c98c upstream.
+
+The driver forgets to call regulator_bulk_disable()
+
+Add the missed call to fix it.
+
+Fixes: 33ada14a26c8 ("ASoC: add rt5665 codec driver")
+Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com>
+Link: https://lore.kernel.org/r/tencent_A560D01E3E0A00A85A12F137E4B5205B3508@qq.com
+Signed-off-by: Mark Brown <broonie@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ sound/soc/codecs/rt5665.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/sound/soc/codecs/rt5665.c
++++ b/sound/soc/codecs/rt5665.c
+@@ -4957,6 +4957,8 @@ static void rt5665_i2c_shutdown(struct i
+       struct rt5665_priv *rt5665 = i2c_get_clientdata(client);
+       regmap_write(rt5665->regmap, RT5665_RESET, 0);
++
++      regulator_bulk_disable(ARRAY_SIZE(rt5665->supplies), rt5665->supplies);
+ }
+ #ifdef CONFIG_OF
index 4fbedc5e6ecbac0649fbe6480f36a0d9cf47fa0d..9488a325fffbe0f3e32e84065a95aca9e9729d04 100644 (file)
@@ -33,3 +33,4 @@ serial-8250-fix-oops-for-port-pm-on-uart_change_pm.patch
 binder-fix-memory-leak-in-binder_init.patch
 test_firmware-prevent-race-conditions-by-a-correct-implementation-of-locking.patch
 netfilter-set-default-timeout-to-3-secs-for-sctp-shutdown-send-and-recv-state.patch
+asoc-rt5665-add-missed-regulator_bulk_disable.patch