From patchwork Fri May 20 19:45:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ball X-Patchwork-Id: 804692 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4KJiA4V030744 for ; Fri, 20 May 2011 19:44:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757170Ab1ETToH (ORCPT ); Fri, 20 May 2011 15:44:07 -0400 Received: from pullcord.laptop.org ([18.85.46.20]:51629 "EHLO pullcord.laptop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757186Ab1ETToG (ORCPT ); Fri, 20 May 2011 15:44:06 -0400 Received: from pullcord.laptop.org (localhost.localdomain [127.0.0.1]) by pullcord.laptop.org (8.14.4/8.14.4) with ESMTP id p4KJjeMX004130; Fri, 20 May 2011 15:45:41 -0400 Received: (from cjb@localhost) by pullcord.laptop.org (8.14.4/8.14.4/Submit) id p4KJjeMa004128; Fri, 20 May 2011 15:45:40 -0400 From: Chris Ball To: linux-mmc@vger.kernel.org Cc: Chris Ball , Tony Olech Subject: [PATCH] mmc: vub300: quieten "SET_CLOCK_SPEED" printk Date: Fri, 20 May 2011 15:45:31 -0400 Message-Id: <1305920731-4077-1-git-send-email-cjb@laptop.org> X-Mailer: git-send-email 1.7.0.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 20 May 2011 19:44:10 +0000 (UTC) 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 Cc: Tony Olech --- 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); } }