ASoC: rockchip: add missing INTERLEAVED PCM attribute
authorKatsuhiro Suzuki <katsuhiro@katsuster.net>
Mon, 10 Sep 2018 16:39:32 +0000 (01:39 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 11 Sep 2018 18:19:53 +0000 (19:19 +0100)
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>
sound/soc/rockchip/rockchip_pcm.c

index f7753831922168537f1e84f9f221746c3cfc84a0..9e7b5fa4cf59630ee65d2ee15e9893f97d8245ce 100644 (file)
@@ -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,