[PATCH] mmc: vub300: quieten "SET_CLOCK_SPEED" printk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <cjb@xxxxxxxxxx>
Cc: Tony Olech <tony.olech@xxxxxxxxxxxxxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux