diff options
-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; } |