aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/pcm179x.c4
-rw-r--r--sound/soc/codecs/pcm179x.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/sound/soc/codecs/pcm179x.c b/sound/soc/codecs/pcm179x.c
index 8f20f70af23e..06a66579ca6d 100644
--- a/sound/soc/codecs/pcm179x.c
+++ b/sound/soc/codecs/pcm179x.c
@@ -187,7 +187,9 @@ static struct snd_soc_dai_driver pcm179x_dai = {
187 .stream_name = "Playback", 187 .stream_name = "Playback",
188 .channels_min = 2, 188 .channels_min = 2,
189 .channels_max = 2, 189 .channels_max = 2,
190 .rates = PCM1792A_RATES, 190 .rates = SNDRV_PCM_RATE_CONTINUOUS,
191 .rate_min = 10000,
192 .rate_max = 200000,
191 .formats = PCM1792A_FORMATS, }, 193 .formats = PCM1792A_FORMATS, },
192 .ops = &pcm179x_dai_ops, 194 .ops = &pcm179x_dai_ops,
193}; 195};
diff --git a/sound/soc/codecs/pcm179x.h b/sound/soc/codecs/pcm179x.h
index c4eea4df915b..11e331268aae 100644
--- a/sound/soc/codecs/pcm179x.h
+++ b/sound/soc/codecs/pcm179x.h
@@ -17,10 +17,6 @@
17#ifndef __PCM179X_H__ 17#ifndef __PCM179X_H__
18#define __PCM179X_H__ 18#define __PCM179X_H__
19 19
20#define PCM1792A_RATES (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_8000_48000 | \
21 SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 | \
22 SNDRV_PCM_RATE_192000)
23
24#define PCM1792A_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \ 20#define PCM1792A_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \
25 SNDRV_PCM_FMTBIT_S16_LE) 21 SNDRV_PCM_FMTBIT_S16_LE)
26 22