s3cmci: Make general protocol errors less noisy
authorben@fluff.org.uk <ben@fluff.org.uk>
Tue, 14 Oct 2008 23:17:15 +0000 (00:17 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 15 Oct 2008 16:04:40 +0000 (18:04 +0200)
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 <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/s3cmci.c

index ae16d84..2af6306 100644 (file)
@@ -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 {                                      \