diff options
author | UK KIM <w0806.6.kim@samsung.com> | 2010-10-25 16:32:07 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-11-17 17:51:43 -0800 |
commit | d8b9c98b2bb05364d65945b05b4bbfee9ca3fcdb (patch) | |
tree | 9baa9d87ba01bc119b392286af4923db0a174669 /sound | |
parent | 943b013ac043ade8b5ad358b018a4bf5eb75d29a (diff) | |
download | kernel_samsung_crespo-d8b9c98b2bb05364d65945b05b4bbfee9ca3fcdb.zip kernel_samsung_crespo-d8b9c98b2bb05364d65945b05b4bbfee9ca3fcdb.tar.gz kernel_samsung_crespo-d8b9c98b2bb05364d65945b05b4bbfee9ca3fcdb.tar.bz2 |
S5PC11X: SOUND: must be enabled Xtal 24mhz properly during call mode
fix sequence for setting clk_enable of 24Mhz Xtal clk.
Change-Id: I8bd6b54168cdcd6b2fbdecf3bbfc3076dc3078dd
Signed-off-by: UK KIM <w0806.6.kim@samsung.com>
Diffstat (limited to 'sound')
-rwxr-xr-x | sound/soc/codecs/wm8994_samsung.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8994_samsung.c b/sound/soc/codecs/wm8994_samsung.c index 06b2af1..3cc2fc7 100755 --- a/sound/soc/codecs/wm8994_samsung.c +++ b/sound/soc/codecs/wm8994_samsung.c @@ -1270,10 +1270,10 @@ static int wm8994_init(struct wm8994_priv *wm8994_private, wm8994->gain_code = gain_code_check(); - wm8994->universal_clock_control(codec, CODEC_ON); - wm8994->codec_clk = clk_get(NULL, "usb_osc"); + wm8994->universal_clock_control(codec, CODEC_ON); + if (IS_ERR(wm8994->codec_clk)) { pr_err("failed to get MCLK clock from AP\n"); ret = PTR_ERR(wm8994->codec_clk); |