From: ben@fluff.org.uk Date: Tue, 14 Oct 2008 23:17:15 +0000 (+0100) Subject: s3cmci: Make general protocol errors less noisy X-Git-Tag: v2.6.28-rc1~92^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9c2e7e40bf85684eebc019e915c39c4c07c734fa;p=linux-2.6-omap-h63xx.git s3cmci: Make general protocol errors less noisy General errors, such as timeouts during probe do not need to be sent to the console, so move them down to be included if the debug is enabled. Such errors include: s3c2440-sdi s3c2440-sdi: s3cmci_request: no medium present Signed-off-by: Ben Dooks Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index ae16d845d74..2af63063991 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c @@ -39,9 +39,9 @@ enum dbg_channels { dbg_conf = (1 << 8), }; -static const int dbgmap_err = dbg_err | dbg_fail; +static const int dbgmap_err = dbg_fail; static const int dbgmap_info = dbg_info | dbg_conf; -static const int dbgmap_debug = dbg_debug; +static const int dbgmap_debug = dbg_err | dbg_debug; #define dbg(host, channels, args...) \ do { \