Skip to content
Permalink
Browse files

mmc: info (not err) msg on clock probe deferral

  • Loading branch information...
pelwell committed Oct 12, 2016
1 parent d1eec13 commit 5b7970b19bbb2ea1620591bfb6517848696ed0b9
Showing with 8 additions and 2 deletions.
  1. +4 −1 drivers/mmc/host/bcm2835-mmc.c
  2. +4 −1 drivers/mmc/host/bcm2835-sdhost.c
@@ -1459,8 +1459,11 @@ static int bcm2835_mmc_probe(struct platform_device *pdev)
#endif
clk = devm_clk_get(dev, NULL);
if (IS_ERR(clk)) {
dev_err(dev, "could not get clk\n");
ret = PTR_ERR(clk);
if (ret == -EPROBE_DEFER)
dev_info(dev, "could not get clk, deferring probe\n");
else
dev_err(dev, "could not get clk\n");
goto err;
}

@@ -2089,8 +2089,11 @@ static int bcm2835_sdhost_probe(struct platform_device *pdev)

clk = devm_clk_get(dev, NULL);
if (IS_ERR(clk)) {
dev_err(dev, "could not get clk\n");
ret = PTR_ERR(clk);
if (ret == -EPROBE_DEFER)
dev_info(dev, "could not get clk, deferring probe\n");
else
dev_err(dev, "could not get clk\n");
goto err;
}

0 comments on commit 5b7970b

Please sign in to comment.
You can’t perform that action at this time.