]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 ae16d845d7463aca1c0c1841ff029be8f1cc8075..2af630639910a7d1385f4bab06774cc9b1c675d9 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 {                                      \