An average vub300 session with CONFIG_MMC_CLKGATE=y set prints repeated
lines in the form of:

[83083.620491] usb 1-1.4: SET_CLOCK_SPEED 48000kHz
[83083.629664] usb 1-1.4: SET_CLOCK_SPEED 0kHz

[root@xo ~]# dmesg | grep SET_CLOCK_SPEED | wc -l
203

So, change this from dev_info() to dev_dbg().  We still print a
dev_err() if the call actually fails.

Signed-off-by: Chris Ball <c...@laptop.org>
Cc: Tony Olech <tony.ol...@elandigitalsystems.com>
---
 drivers/mmc/host/vub300.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
index 2273cca..cbb0330 100644
--- a/drivers/mmc/host/vub300.c
+++ b/drivers/mmc/host/vub300.c
@@ -2005,8 +2005,8 @@ static void __set_clock_speed(struct vub300_mmc_host 
*vub300, u8 buf[8],
                dev_err(&vub300->udev->dev, "SET_CLOCK_SPEED"
                        " %dkHz failed with retval=%d\n", kHzClock, retval);
        } else {
-               dev_info(&vub300->udev->dev, "SET_CLOCK_SPEED"
-                        " %dkHz\n", kHzClock);
+               dev_dbg(&vub300->udev->dev, "SET_CLOCK_SPEED"
+                       " %dkHz\n", kHzClock);
        }
 }
 
-- 
1.7.0.1

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to