diff options
| author | Katsuhiro Suzuki <katsuhiro@katsuster.net> | 2018-09-10 12:39:32 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-09-11 14:19:53 -0400 |
| commit | 24d6638302b48328a58c13439276d4531af4ca7d (patch) | |
| tree | bff46a9bece171001e0ad1637b9d23ae68404b7a /sound/soc/rockchip | |
| 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/soc/rockchip')
| -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 = { | |||
| 21 | .info = SNDRV_PCM_INFO_MMAP | | 21 | .info = SNDRV_PCM_INFO_MMAP | |
| 22 | SNDRV_PCM_INFO_MMAP_VALID | | 22 | SNDRV_PCM_INFO_MMAP_VALID | |
| 23 | SNDRV_PCM_INFO_PAUSE | | 23 | SNDRV_PCM_INFO_PAUSE | |
| 24 | SNDRV_PCM_INFO_RESUME, | 24 | SNDRV_PCM_INFO_RESUME | |
| 25 | SNDRV_PCM_INFO_INTERLEAVED, | ||
| 25 | .period_bytes_min = 32, | 26 | .period_bytes_min = 32, |
| 26 | .period_bytes_max = 8192, | 27 | .period_bytes_max = 8192, |
| 27 | .periods_min = 1, | 28 | .periods_min = 1, |
