ASoC: pcm: Add 24bit playback audio support

Change-Id: I60b81c6fd03f24bad21d3fc31a1486606e28b831
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
zhanandong 2020-03-23 21:08:15 +08:00 committed by Gagan Malvi
parent cea51b0605
commit 8c6a87a88f
No known key found for this signature in database
GPG key ID: B932A7CE71E9198F

View file

@ -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,