summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorChen Zhen <zhen1.chen@samsung.com>2014-05-12 13:36:52 +0800
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:50 +0900
commit15267745f1cefbf3be3fe4d26a59e4f8d7336429 (patch)
tree9c632740df3ee25572ec0ada0ff0686bb0bf72f1 /sound/soc
parentd22b1945679a4b34e4c55da63b55ad9f933b4626 (diff)
downloadlinux-3.10-15267745f1cefbf3be3fe4d26a59e4f8d7336429.tar.gz
linux-3.10-15267745f1cefbf3be3fe4d26a59e4f8d7336429.tar.bz2
linux-3.10-15267745f1cefbf3be3fe4d26a59e4f8d7336429.zip
ASoC: max98090: change the pclk value and its division factor
when codec work at master mode,its MCLK was supported by CDCLK,so it's necessary to change pclk and its division factor according to CDCLK. Change-Id: I9e091b532b523e8788ce1ffe84bc40452bd52a19 Signed-off-by: Chen Zhen <zhen1.chen@samsung.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/max98090.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 34c60bcd413..5da17b9eea1 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -1509,19 +1509,19 @@ static const int lrclk_rates[] = {
};
static const int user_pclk_rates[] = {
- 13000000, 13000000
+ 13000000, 13000000, 19200000, 19200000,
};
static const int user_lrclk_rates[] = {
- 44100, 48000
+ 44100, 48000, 44100, 48000,
};
static const unsigned long long ni_value[] = {
- 3528, 768
+ 3528, 768, 441, 8
};
static const unsigned long long mi_value[] = {
- 8125, 1625
+ 8125, 1625, 1500, 25
};
static void max98090_configure_bclk(struct snd_soc_codec *codec)