diff options
author | Katsuhiro Suzuki <katsuhiro@katsuster.net> | 2018-09-11 01:39:32 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-11 19:19:53 +0100 |
commit | 24d6638302b48328a58c13439276d4531af4ca7d (patch) | |
tree | bff46a9bece171001e0ad1637b9d23ae68404b7a /sound | |
parent | 4f1b327e65a9516a46ea491ce72a5161be176af8 (diff) |
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')
-rw-r--r-- | sound/soc/rockchip/rockchip_pcm.c | 3 |
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, |