Просмотр исходного кода

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 13 лет назад
Родитель
Сommit
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");