diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2012-01-20 10:51:40 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 09:01:05 +0100 |
commit | 7df5c5c6704c04a7894d6903c6542d4eda2b0d07 (patch) | |
tree | 54ee52db8a6bb9695898e57188aca0d959f3075d /sound | |
parent | d07fd08cc51453eb3246d8df4a9850dbd8ca0294 (diff) |
sound: ux500 ASoC: Fix bad clock errors checking
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/ux500/ux500_ab8500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/ux500/ux500_ab8500.c b/sound/soc/ux500/ux500_ab8500.c index 3b1480a9d76..710843e9072 100644 --- a/sound/soc/ux500/ux500_ab8500.c +++ b/sound/soc/ux500/ux500_ab8500.c @@ -813,12 +813,12 @@ int ux500_ab8500_machine_codec_init(struct snd_soc_pcm_runtime *rtd) return -EFAULT; } clk_ptr_ulpclk = clk_get(codec->dev, "ulpclk"); - if (IS_ERR(clk_ptr_sysclk)) { + if (IS_ERR(clk_ptr_ulpclk)) { pr_err("ERROR: clk_get failed (ret = %d)!", -EFAULT); return -EFAULT; } clk_ptr_intclk = clk_get(codec->dev, "intclk"); - if (IS_ERR(clk_ptr_audioclk)) { + if (IS_ERR(clk_ptr_intclk)) { pr_err("ERROR: clk_get failed (ret = %d)!", -EFAULT); return -EFAULT; } |