From 8c6a87a88fc624c7e36b72e10c11d2545550b0ec Mon Sep 17 00:00:00 2001 From: zhanandong Date: Mon, 23 Mar 2020 21:08:15 +0800 Subject: [PATCH] ASoC: pcm: Add 24bit playback audio support Change-Id: I60b81c6fd03f24bad21d3fc31a1486606e28b831 Signed-off-by: UtsavBalar1231 --- 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 76ac88f51468..b4949bc343dc 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -40,6 +40,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,