From: Greg Kroah-Hartman Date: Mon, 13 Sep 2021 08:51:35 +0000 (+0200) Subject: 5.13-stable patches X-Git-Tag: v5.4.146~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8082c31e0068f299951b4fff073f7ddc0d358b8b;p=thirdparty%2Fkernel%2Fstable-queue.git 5.13-stable patches added patches: asoc-rt5682-remove-unused-variable-in-rt5682_i2c_remove.patch --- diff --git a/queue-5.13/asoc-rt5682-remove-unused-variable-in-rt5682_i2c_remove.patch b/queue-5.13/asoc-rt5682-remove-unused-variable-in-rt5682_i2c_remove.patch new file mode 100644 index 00000000000..ed6c6f88fc5 --- /dev/null +++ b/queue-5.13/asoc-rt5682-remove-unused-variable-in-rt5682_i2c_remove.patch @@ -0,0 +1,35 @@ +From a1ea05723c27a6f77894a60038a7b2b12fcec9a7 Mon Sep 17 00:00:00 2001 +From: Douglas Anderson +Date: Fri, 13 Aug 2021 07:34:05 -0700 +Subject: ASoC: rt5682: Remove unused variable in rt5682_i2c_remove() + +From: Douglas Anderson + +commit a1ea05723c27a6f77894a60038a7b2b12fcec9a7 upstream. + +In commit 772d44526e20 ("ASoC: rt5682: Properly turn off regulators if +wrong device ID") I deleted code but forgot to delete a variable +that's now unused. Delete it. + +Fixes: 772d44526e20 ("ASoC: rt5682: Properly turn off regulators if wrong device ID") +Reported-by: Stephen Rothwell +Signed-off-by: Douglas Anderson +Reviewed-by: Stephen Boyd +Link: https://lore.kernel.org/r/20210813073402.1.Iaa9425cfab80f5233afa78b32d02b6dc23256eb3@changeid +Signed-off-by: Mark Brown +Signed-off-by: Greg Kroah-Hartman +--- + sound/soc/codecs/rt5682-i2c.c | 2 -- + 1 file changed, 2 deletions(-) + +--- a/sound/soc/codecs/rt5682-i2c.c ++++ b/sound/soc/codecs/rt5682-i2c.c +@@ -294,8 +294,6 @@ static void rt5682_i2c_shutdown(struct i + + static int rt5682_i2c_remove(struct i2c_client *client) + { +- struct rt5682_priv *rt5682 = i2c_get_clientdata(client); +- + rt5682_i2c_shutdown(client); + + return 0; diff --git a/queue-5.13/series b/queue-5.13/series index fd6f6a4f4b1..109093fc5db 100644 --- a/queue-5.13/series +++ b/queue-5.13/series @@ -261,3 +261,4 @@ octeontx2-af-fix-static-code-analyzer-reported-issue.patch octeontx2-af-set-proper-errorcode-for-ipv4-checksum-.patch ipv4-fix-endianness-issue-in-inet_rtm_getroute_build.patch amdgpu-pm-add-extra-info-to-smu-msg-pre-check-failed.patch +asoc-rt5682-remove-unused-variable-in-rt5682_i2c_remove.patch