jzcodec: Fix supported formats.

SVN-Revision: 20210
lede-17.01
Lars-Peter Clausen 2010-03-14 17:49:30 +00:00
parent 1b39ce11a8
commit a4d823a9e3
1 changed files with 5 additions and 2 deletions

View File

@ -267,14 +267,17 @@ struct snd_soc_dai jz_codec_dai = {
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100,
.formats = SNDRV_PCM_FORMAT_S18_3LE,
.formats = SNDRV_PCM_FMTBIT_S18_3LE |
SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S8,
},
.capture = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100,
.formats = SNDRV_PCM_FORMAT_S16_LE,
.formats = SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S8,
},
.ops = &jz_codec_dai_ops,
.symmetric_rates = 1,