diff options
author | Mark Brown <broonie@kernel.org> | 2019-05-06 16:51:52 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-06 16:51:52 +0300 |
commit | 7f5a466f2ea1115a4a73d987b7b6a73d23475305 (patch) | |
tree | f7e9399912fae24b6364f7e8b2e327623324f516 /sound/soc/codecs/da7219.c | |
parent | e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd (diff) | |
parent | f47b9ad927c6370b80922af434dda98764a43804 (diff) | |
download | linux-7f5a466f2ea1115a4a73d987b7b6a73d23475305.tar.xz |
Merge branch 'asoc-5.1' into asoc-linus
Diffstat (limited to 'sound/soc/codecs/da7219.c')
-rw-r--r-- | sound/soc/codecs/da7219.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index 121a8190f93e..9f6970eed6f6 100644 --- a/sound/soc/codecs/da7219.c +++ b/sound/soc/codecs/da7219.c @@ -1583,20 +1583,26 @@ static const struct snd_soc_dai_ops da7219_dai_ops = { #define DA7219_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\ SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) +#define DA7219_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\ + SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ + SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |\ + SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\ + SNDRV_PCM_RATE_96000) + static struct snd_soc_dai_driver da7219_dai = { .name = "da7219-hifi", .playback = { .stream_name = "Playback", .channels_min = 1, .channels_max = DA7219_DAI_CH_NUM_MAX, - .rates = SNDRV_PCM_RATE_8000_96000, + .rates = DA7219_RATES, .formats = DA7219_FORMATS, }, .capture = { .stream_name = "Capture", .channels_min = 1, .channels_max = DA7219_DAI_CH_NUM_MAX, - .rates = SNDRV_PCM_RATE_8000_96000, + .rates = DA7219_RATES, .formats = DA7219_FORMATS, }, .ops = &da7219_dai_ops, |