From: Mark Brown Date: Tue, 5 Jun 2012 09:44:23 +0000 (+0100) Subject: ASoC: dapm: The clock API is even less consistent than thought X-Git-Tag: firefly_0821_release~3680^2~1845^2~116^2~111 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=165961efc03159631eadc086877704c7778ac356;p=firefly-linux-kernel-4.4.55.git ASoC: dapm: The clock API is even less consistent than thought Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 39e8c2fdf50e..7365fed1ba74 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -2904,7 +2904,7 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, } break; case snd_soc_dapm_clock_supply: -#ifdef CONFIG_HAVE_CLK +#ifdef CONFIG_CLKDEV_LOOKUP w->clk = devm_clk_get(dapm->dev, w->name); if (IS_ERR(w->clk)) { ret = PTR_ERR(w->clk);