Skip to content

Commit

Permalink
sound: soc: pcm: support host-less 24bit formats
Browse files Browse the repository at this point in the history
Change-Id: Iae31b37ac5e5ad7c0a52208489a28e4a2c7cb57c
  • Loading branch information
Demon000 authored and dereference23 committed Aug 19, 2021
1 parent 6e2a5df commit 0c17be8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/soc-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,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,
Expand Down

0 comments on commit 0c17be8

Please sign in to comment.