From patchwork Tue Oct 12 07:29:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Eric_B=C3=A9nard?= X-Patchwork-Id: 247001 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 o9C7a9cI009179 for ; Tue, 12 Oct 2010 07:36:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756629Ab0JLHgW (ORCPT ); Tue, 12 Oct 2010 03:36:22 -0400 Received: from 68.mail-out.ovh.net ([91.121.185.69]:47521 "HELO 68.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756334Ab0JLHgW (ORCPT ); Tue, 12 Oct 2010 03:36:22 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 12 Oct 2010 07:36:23 +0000 (UTC) X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Tue, 12 Oct 2010 03:36:21 EDT Received: (qmail 18474 invoked by uid 503); 12 Oct 2010 07:46:24 -0000 Received: from 30.mail-out.ovh.net (213.186.62.213) by 68.mail-out.ovh.net with SMTP; 12 Oct 2010 07:46:24 -0000 Received: (qmail 28960 invoked by uid 503); 12 Oct 2010 07:10:27 -0000 Received: from b9.ovh.net (HELO mail632.ha.ovh.net) (213.186.33.59) by 30.mail-out.ovh.net with SMTP; 12 Oct 2010 07:10:27 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 12 Oct 2010 09:29:40 +0200 Received: from pac33-2-82-240-38-71.fbx.proxad.net (HELO localhost.localdomain) (ebenard%eukrea.com@82.240.38.71) by ns0.ovh.net with SMTP; 12 Oct 2010 09:29:38 +0200 From: =?UTF-8?q?Eric=20B=C3=A9nard?= To: linux-mmc@vger.kernel.org Subject: [PATCH v2] mmc_rescan: reduce verbosity Date: Tue, 12 Oct 2010 09:29:37 +0200 Message-Id: <1286868577-7729-1-git-send-email-eric@eukrea.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <20101012060045.GA8252@pengutronix.de> References: <20101012060045.GA8252@pengutronix.de> MIME-Version: 1.0 X-Ovh-Tracer-Id: 1036390865048874388 X-Ovh-Remote: 82.240.38.71 (pac33-2-82-240-38-71.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index c94565d..cda9d29 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -1482,9 +1482,10 @@ void mmc_rescan(struct work_struct *work) mmc_release_host(host); goto out; } +#ifdef CONFIG_MMC_DEBUG pr_info("%s: %s: trying to init card at %u Hz\n", mmc_hostname(host), __func__, host->f_init); - +#endif mmc_power_up(host); sdio_reset(host); mmc_go_idle(host);