aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <katsuhiro@katsuster.net>2018-09-11 01:39:32 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-27 09:36:41 +0200
commit52dde1160f17c42bca85f1365227a69b2c6aa9e8 (patch)
tree377c982f2acb39b7c5b0fa0ad46d067198ea3b64
parenta782f8475715d6dc61f892127d4fb8e5f0775ac4 (diff)
downloadlinux-yocto-52dde1160f17c42bca85f1365227a69b2c6aa9e8.tar.gz
linux-yocto-52dde1160f17c42bca85f1365227a69b2c6aa9e8.tar.bz2
linux-yocto-52dde1160f17c42bca85f1365227a69b2c6aa9e8.zip
ASoC: rockchip: add missing INTERLEAVED PCM attribute
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>
-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 7029e0b85f9e..4ac78d7a4b2d 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,