From: Katsuhiro Suzuki Date: Mon, 10 Sep 2018 16:39:32 +0000 (+0900) Subject: ASoC: rockchip: add missing INTERLEAVED PCM attribute X-Git-Tag: v4.19.37~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52dde1160f17c42bca85f1365227a69b2c6aa9e8;p=thirdparty%2Fkernel%2Fstable.git 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 Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/rockchip/rockchip_pcm.c b/sound/soc/rockchip/rockchip_pcm.c index 7029e0b85f9e3..4ac78d7a4b2da 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,