aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSergej Sawazki <ce3a@gmx.de>2015-03-24 21:13:22 +0100
committerBen Hutchings <ben@decadent.org.uk>2015-08-07 00:32:00 +0100
commite9a498d91caee0e874f998ddad613f4363aaa4fa (patch)
tree53184bb04663806c6cfa06adf96a69d70a513699 /sound
parent3a0e4c9233a128776793b86d016057032329af89 (diff)
downloadkernel_samsung_smdk4412-e9a498d91caee0e874f998ddad613f4363aaa4fa.zip
kernel_samsung_smdk4412-e9a498d91caee0e874f998ddad613f4363aaa4fa.tar.gz
kernel_samsung_smdk4412-e9a498d91caee0e874f998ddad613f4363aaa4fa.tar.bz2
ASoC: wm8741: Fix rates constraints values
commit 8787041d9bb832b9449b1eb878cedcebce42c61a upstream. The WM8741 DAC supports the following typical audio sampling rates: 44.1kHz, 88.2kHz, 176.4kHz (eg: with a master clock of 22.5792MHz) 32kHz, 48kHz, 96kHz, 192kHz (eg: with a master clock of 24.576MHz) For the rates lists, we should use 82000 instead of 88235, 176400 instead of 1764000 and 192000 instead of 19200 (seems to be a typo). Signed-off-by: Sergej Sawazki <ce3a@gmx.de> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8741.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c
index 57ad22a..6ab4f27 100644
--- a/sound/soc/codecs/wm8741.c
+++ b/sound/soc/codecs/wm8741.c
@@ -117,7 +117,7 @@ static struct {
};
static unsigned int rates_11289[] = {
- 44100, 88235,
+ 44100, 88200,
};
static struct snd_pcm_hw_constraint_list constraints_11289 = {
@@ -144,7 +144,7 @@ static struct snd_pcm_hw_constraint_list constraints_16384 = {
};
static unsigned int rates_16934[] = {
- 44100, 88235,
+ 44100, 88200,
};
static struct snd_pcm_hw_constraint_list constraints_16934 = {
@@ -162,7 +162,7 @@ static struct snd_pcm_hw_constraint_list constraints_18432 = {
};
static unsigned int rates_22579[] = {
- 44100, 88235, 1764000
+ 44100, 88200, 176400
};
static struct snd_pcm_hw_constraint_list constraints_22579 = {
@@ -180,7 +180,7 @@ static struct snd_pcm_hw_constraint_list constraints_24576 = {
};
static unsigned int rates_36864[] = {
- 48000, 96000, 19200
+ 48000, 96000, 192000
};
static struct snd_pcm_hw_constraint_list constraints_36864 = {