浏览代码

mmc: omap_hsmmc: remove warning message for debounce clock

MMC debounce clock is applicable only for omap2430, warning message gets
printed when enable fails for debounce clock. Remove the get debounce clock
failure message as it is noisy for other platforms.

Signed-off-by: Balaji T K <balajitk@ti.com>
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Balaji T K 12 年之前
父节点
当前提交
f50725129a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/mmc/host/omap_hsmmc.c

+ 0 - 1
drivers/mmc/host/omap_hsmmc.c

@@ -1826,7 +1826,6 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
 	 * MMC can still work without debounce clock.
 	 * MMC can still work without debounce clock.
 	 */
 	 */
 	if (IS_ERR(host->dbclk)) {
 	if (IS_ERR(host->dbclk)) {
-		dev_warn(mmc_dev(host->mmc), "Failed to get debounce clk\n");
 		host->dbclk = NULL;
 		host->dbclk = NULL;
 	} else if (clk_prepare_enable(host->dbclk) != 0) {
 	} else if (clk_prepare_enable(host->dbclk) != 0) {
 		dev_warn(mmc_dev(host->mmc), "Failed to enable debounce clk\n");
 		dev_warn(mmc_dev(host->mmc), "Failed to enable debounce clk\n");