Skip to content

Commit

Permalink
ASoC: rockchip: add missing INTERLEAVED PCM attribute
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
katsuster authored and broonie committed Sep 11, 2018
1 parent 4f1b327 commit 24d6638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/soc/rockchip/rockchip_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 24d6638

Please sign in to comment.