From 07e0004ee395414d9bf82f067eec2b64f430ce8b Mon Sep 17 00:00:00 2001 From: Demon000 Date: Sun, 1 Dec 2019 15:55:25 +0100 Subject: [PATCH] sound: soc: pcm: support host-less 24bit formats Change-Id: Iae31b37ac5e5ad7c0a52208489a28e4a2c7cb57c --- sound/soc/soc-pcm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index 2952f9ec115b..61e106958c2a 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -38,6 +38,8 @@ static const struct snd_pcm_hardware no_host_hardware = { SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME, .formats = SNDRV_PCM_FMTBIT_S16_LE | + SNDRV_PCM_FMTBIT_S24_LE | + SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE, .period_bytes_min = PAGE_SIZE >> 2, .period_bytes_max = PAGE_SIZE >> 1,