diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2012-01-20 10:51:40 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:05:04 +0200 |
commit | 5d0e9441baac2163732e68bee502e2c5f770a903 (patch) | |
tree | c9debe473f5661a84d280945dd1f4eafb361e398 /sound/soc | |
parent | 19bcf3527a523ddc3dd17f6b9b3d61dc030f62c7 (diff) |
sound: ux500 ASoC: Fix bad clock errors checking
Diffstat (limited to 'sound/soc')
-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; } |