summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip/rockchip_pcm.c
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <katsuhiro@katsuster.net>2018-09-11 01:39:32 +0900
committerMark Brown <broonie@kernel.org>2018-09-11 19:19:53 +0100
commit24d6638302b48328a58c13439276d4531af4ca7d (patch)
treebff46a9bece171001e0ad1637b9d23ae68404b7a /sound/soc/rockchip/rockchip_pcm.c
parent4f1b327e65a9516a46ea491ce72a5161be176af8 (diff)
downloadlinux-24d6638302b48328a58c13439276d4531af4ca7d.tar.bz2
ASoC: rockchip: add missing INTERLEAVED PCM attribute
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>
Diffstat (limited to 'sound/soc/rockchip/rockchip_pcm.c')
-rw-r--r--sound/soc/rockchip/rockchip_pcm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_pcm.c b/sound/soc/rockchip/rockchip_pcm.c
index f77538319221..9e7b5fa4cf59 100644
--- 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_rockchip_hardware = {
.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,