aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/cs4271.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 41a3ee6f6144..538e814136d3 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -33,6 +33,7 @@
33#define CS4271_PCM_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \ 33#define CS4271_PCM_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
34 SNDRV_PCM_FMTBIT_S24_LE | \ 34 SNDRV_PCM_FMTBIT_S24_LE | \
35 SNDRV_PCM_FMTBIT_S32_LE) 35 SNDRV_PCM_FMTBIT_S32_LE)
36#define CS4271_PCM_RATES SNDRV_PCM_RATE_8000_192000
36 37
37/* 38/*
38 * CS4271 registers 39 * CS4271 registers
@@ -392,14 +393,14 @@ static struct snd_soc_dai_driver cs4271_dai = {
392 .stream_name = "Playback", 393 .stream_name = "Playback",
393 .channels_min = 2, 394 .channels_min = 2,
394 .channels_max = 2, 395 .channels_max = 2,
395 .rates = SNDRV_PCM_RATE_8000_96000, 396 .rates = CS4271_PCM_RATES,
396 .formats = CS4271_PCM_FORMATS, 397 .formats = CS4271_PCM_FORMATS,
397 }, 398 },
398 .capture = { 399 .capture = {
399 .stream_name = "Capture", 400 .stream_name = "Capture",
400 .channels_min = 2, 401 .channels_min = 2,
401 .channels_max = 2, 402 .channels_max = 2,
402 .rates = SNDRV_PCM_RATE_8000_96000, 403 .rates = CS4271_PCM_RATES,
403 .formats = CS4271_PCM_FORMATS, 404 .formats = CS4271_PCM_FORMATS,
404 }, 405 },
405 .ops = &cs4271_dai_ops, 406 .ops = &cs4271_dai_ops,