sound: soc: pcm: support host-less 24bit formats

Change-Id: Iae31b37ac5e5ad7c0a52208489a28e4a2c7cb57c
This commit is contained in:
Demon000 2019-12-01 15:55:25 +01:00 committed by Giovanni Ricca
parent fb4edfe425
commit 4d9871656a
No known key found for this signature in database

View File

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