]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Apr 2019 14:11:19 +0000 (16:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Apr 2019 14:11:19 +0000 (16:11 +0200)
added patches:
asoc-rockchip-add-missing-interleaved-pcm-attribute.patch

queue-4.19/asoc-rockchip-add-missing-interleaved-pcm-attribute.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/asoc-rockchip-add-missing-interleaved-pcm-attribute.patch b/queue-4.19/asoc-rockchip-add-missing-interleaved-pcm-attribute.patch
new file mode 100644 (file)
index 0000000..dd8a52e
--- /dev/null
@@ -0,0 +1,31 @@
+From 24d6638302b48328a58c13439276d4531af4ca7d Mon Sep 17 00:00:00 2001
+From: Katsuhiro Suzuki <katsuhiro@katsuster.net>
+Date: Tue, 11 Sep 2018 01:39:32 +0900
+Subject: ASoC: rockchip: add missing INTERLEAVED PCM attribute
+
+From: Katsuhiro Suzuki <katsuhiro@katsuster.net>
+
+commit 24d6638302b48328a58c13439276d4531af4ca7d upstream.
+
+This patch adds SNDRV_PCM_INFO_INTERLEAVED into PCM hardware info.
+
+Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
+Signed-off-by: Mark Brown <broonie@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ sound/soc/rockchip/rockchip_pcm.c |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/sound/soc/rockchip/rockchip_pcm.c
++++ b/sound/soc/rockchip/rockchip_pcm.c
+@@ -21,7 +21,8 @@ static const struct snd_pcm_hardware snd
+       .info                   = SNDRV_PCM_INFO_MMAP |
+                                 SNDRV_PCM_INFO_MMAP_VALID |
+                                 SNDRV_PCM_INFO_PAUSE |
+-                                SNDRV_PCM_INFO_RESUME,
++                                SNDRV_PCM_INFO_RESUME |
++                                SNDRV_PCM_INFO_INTERLEAVED,
+       .period_bytes_min       = 32,
+       .period_bytes_max       = 8192,
+       .periods_min            = 1,
index c0b45320042e8f384c19ab45ec82e28de79824d7..31ed04278ff296dcb533e9b789f2178d3e31a7f9 100644 (file)
@@ -92,3 +92,4 @@ mm-vmstat.c-fix-proc-vmstat-format-for-config_debug_tlbflush-y-config_smp-n.patc
 alsa-info-fix-racy-addition-deletion-of-nodes.patch
 percpu-stop-printing-kernel-addresses.patch
 tools-include-adopt-linux-bits.h.patch
+asoc-rockchip-add-missing-interleaved-pcm-attribute.patch