summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2018-07-28 14:30:17 +0200
committerMark Brown <broonie@kernel.org>2018-07-30 12:18:32 +0200
commitc9c9780d8fa526a124933134a7e4041fa09662f6 (patch)
tree5300e8c672463e61e2b1a3c6bf32f13062a3dbad /sound/soc/codecs
parentASoC: tegra: i2s: Fix typo/broken macro (diff)
downloadlinux-c9c9780d8fa526a124933134a7e4041fa09662f6.tar.xz
linux-c9c9780d8fa526a124933134a7e4041fa09662f6.zip
ASoC: wm8988: fix typo in rate constraints
Remove duplicated entry and add missing zero in rate constraints. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm8988.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c
index 62200117444b..6e52c6a8bab3 100644
--- a/sound/soc/codecs/wm8988.c
+++ b/sound/soc/codecs/wm8988.c
@@ -522,7 +522,7 @@ static inline int get_coeff(int mclk, int rate)
/* The set of rates we can generate from the above for each SYSCLK */
static const unsigned int rates_12288[] = {
- 8000, 12000, 16000, 24000, 24000, 32000, 48000, 96000,
+ 8000, 12000, 16000, 24000, 32000, 48000, 96000,
};
static const struct snd_pcm_hw_constraint_list constraints_12288 = {
@@ -540,7 +540,7 @@ static const struct snd_pcm_hw_constraint_list constraints_112896 = {
};
static const unsigned int rates_12[] = {
- 8000, 11025, 12000, 16000, 22050, 2400, 32000, 41100, 48000,
+ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 41100, 48000,
48000, 88235, 96000,
};