From: Peter Ujfalusi Date: Fri, 26 Oct 2012 10:33:08 +0000 (+0200) Subject: ASoC: omap-dmic: Correct functional clock name X-Git-Tag: firefly_0821_release~3680^2~1589^2~35^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19118eb8dc3cd6bb1b1fdf0e4ad62070c6683158;p=firefly-linux-kernel-4.4.55.git ASoC: omap-dmic: Correct functional clock name We should really use "fck" when asking for the functional clock and not "dmic_fck". This way we can ensure that multiple dmic modules can exist in the system. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- diff --git a/sound/soc/omap/omap-dmic.c b/sound/soc/omap/omap-dmic.c index 68f2cd1a9206..5a6aeaf552a8 100644 --- a/sound/soc/omap/omap-dmic.c +++ b/sound/soc/omap/omap-dmic.c @@ -464,9 +464,9 @@ static __devinit int asoc_dmic_probe(struct platform_device *pdev) mutex_init(&dmic->mutex); - dmic->fclk = clk_get(dmic->dev, "dmic_fck"); + dmic->fclk = clk_get(dmic->dev, "fck"); if (IS_ERR(dmic->fclk)) { - dev_err(dmic->dev, "cant get dmic_fck\n"); + dev_err(dmic->dev, "cant get fck\n"); return -ENODEV; }