]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.3-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2019 21:24:19 +0000 (14:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2019 21:24:19 +0000 (14:24 -0700)
added patches:
asoc-sgtl5000-add-adc-mute-control.patch

queue-5.3/asoc-sgtl5000-add-adc-mute-control.patch [new file with mode: 0644]
queue-5.3/series

diff --git a/queue-5.3/asoc-sgtl5000-add-adc-mute-control.patch b/queue-5.3/asoc-sgtl5000-add-adc-mute-control.patch
new file mode 100644 (file)
index 0000000..3c0c426
--- /dev/null
@@ -0,0 +1,34 @@
+From 694b14554d75f2a1ae111202e71860d58b434a21 Mon Sep 17 00:00:00 2001
+From: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
+Date: Fri, 19 Jul 2019 10:05:34 +0000
+Subject: ASoC: sgtl5000: add ADC mute control
+
+From: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
+
+commit 694b14554d75f2a1ae111202e71860d58b434a21 upstream.
+
+This control mute/unmute the ADC input of SGTL5000
+using its CHIP_ANA_CTRL register.
+
+Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
+Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
+Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
+Reviewed-by: Fabio Estevam <festevam@gmail.com>
+Link: https://lore.kernel.org/r/20190719100524.23300-5-oleksandr.suvorov@toradex.com
+Signed-off-by: Mark Brown <broonie@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/soc/codecs/sgtl5000.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sound/soc/codecs/sgtl5000.c
++++ b/sound/soc/codecs/sgtl5000.c
+@@ -720,6 +720,7 @@ static const struct snd_kcontrol_new sgt
+                       SGTL5000_CHIP_ANA_ADC_CTRL,
+                       8, 1, 0, capture_6db_attenuate),
+       SOC_SINGLE("Capture ZC Switch", SGTL5000_CHIP_ANA_CTRL, 1, 1, 0),
++      SOC_SINGLE("Capture Switch", SGTL5000_CHIP_ANA_CTRL, 0, 1, 1),
+       SOC_DOUBLE_TLV("Headphone Playback Volume",
+                       SGTL5000_CHIP_ANA_HP_CTRL,
index dfbe158f864ff9b276fcb0e08748233517307582..1fc0663cf996cfca64378b667606723d9df90bc6 100644 (file)
@@ -109,3 +109,4 @@ mtd-rawnand-au1550nd-fix-au_read_buf16-prototype.patch
 x86-asm-fix-mwaitx-c-state-hint-value.patch
 io_uring-only-flush-workqueues-on-fileset-removal.patch
 efi-tpm-fix-sanity-check-of-unsigned-tbl_size-being-less-than-zero.patch
+asoc-sgtl5000-add-adc-mute-control.patch