浏览代码

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 <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Peter Ujfalusi 12 年之前
父节点
当前提交
19118eb8dc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      sound/soc/omap/omap-dmic.c

+ 2 - 2
sound/soc/omap/omap-dmic.c

@@ -464,9 +464,9 @@ static __devinit int asoc_dmic_probe(struct platform_device *pdev)
 
 
 	mutex_init(&dmic->mutex);
 	mutex_init(&dmic->mutex);
 
 
-	dmic->fclk = clk_get(dmic->dev, "dmic_fck");
+	dmic->fclk = clk_get(dmic->dev, "fck");
 	if (IS_ERR(dmic->fclk)) {
 	if (IS_ERR(dmic->fclk)) {
-		dev_err(dmic->dev, "cant get dmic_fck\n");
+		dev_err(dmic->dev, "cant get fck\n");
 		return -ENODEV;
 		return -ENODEV;
 	}
 	}