]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: mvsdio: silence card detect notice
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sat, 26 Apr 2014 19:34:13 +0000 (21:34 +0200)
committerChris Ball <chris@printf.net>
Mon, 12 May 2014 22:05:28 +0000 (18:05 -0400)
mvsdio reports method of card detection with dev_notice, while for
removable cards it may be sane, for non-removable cards it is not.
Also, as the user cannot do anything about it, silence the message
by reducing it from dev_notice to dev_dbg.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/mvsdio.c

index 45aa2206741db8da3bebac2f6b94385add678ced..41aca7f28c23c6fa98cf517e8c3f61ffb713302a 100644 (file)
@@ -801,10 +801,10 @@ static int mvsd_probe(struct platform_device *pdev)
                goto out;
 
        if (!(mmc->caps & MMC_CAP_NEEDS_POLL))
-               dev_notice(&pdev->dev, "using GPIO for card detection\n");
+               dev_dbg(&pdev->dev, "using GPIO for card detection\n");
        else
-               dev_notice(&pdev->dev,
-                          "lacking card detect (fall back to polling)\n");
+               dev_dbg(&pdev->dev, "lacking card detect (fall back to polling)\n");
+
        return 0;
 
 out: