From patchwork Wed Apr 30 13:44:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 4093981 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E4746BFF02 for ; Wed, 30 Apr 2014 13:45:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 24A61201C0 for ; Wed, 30 Apr 2014 13:45:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 471FB202DD for ; Wed, 30 Apr 2014 13:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758919AbaD3NpD (ORCPT ); Wed, 30 Apr 2014 09:45:03 -0400 Received: from www.linutronix.de ([62.245.132.108]:51466 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758576AbaD3NpD (ORCPT ); Wed, 30 Apr 2014 09:45:03 -0400 Received: from localhost ([127.0.0.1] helo=bazinga.breakpoint.cc) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1WfUoe-0004lv-3K; Wed, 30 Apr 2014 15:44:52 +0200 From: Sebastian Andrzej Siewior To: Seungwon Jeon , Jaehoon Chung Cc: Chris Ball , Ulf Hansson , linux-mmc@vger.kernel.org, Sebastian Andrzej Siewior Subject: [PATCH 2/2] mmc: dw_mmc: print card frequency in debug level Date: Wed, 30 Apr 2014 15:44:44 +0200 Message-Id: <1398865484-527-2-git-send-email-bigeasy@linutronix.de> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1398865484-527-1-git-send-email-bigeasy@linutronix.de> References: <1398865484-527-1-git-send-email-bigeasy@linutronix.de> X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Printing this at info level can be very noisy the CD is not working and we poll for the card. Signed-off-by: Sebastian Andrzej Siewior --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 82f5ea2..b8afc70 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -800,7 +800,7 @@ static void dw_mci_setup_bus(struct dw_mci_slot *slot, bool force_clkinit) div = (host->bus_hz != clock) ? DIV_ROUND_UP(div, 2) : 0; if ((clock << div) != slot->__clk_old || force_clkinit) - dev_info(&slot->mmc->class_dev, + dev_dbg(&slot->mmc->class_dev, "Bus speed (slot %d) = %dHz (slot req %dHz, actual %dHZ div = %d)\n", slot->id, host->bus_hz, clock, div ? ((host->bus_hz / div) >> 1) :