Browse Source

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 <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
ben@fluff.org.uk 16 years ago
parent
commit
9c2e7e40bf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/mmc/host/s3cmci.c

+ 2 - 2
drivers/mmc/host/s3cmci.c

@@ -39,9 +39,9 @@ enum dbg_channels {
 	dbg_conf  = (1 << 8),
 	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_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...)		  \
 #define dbg(host, channels, args...)		  \
 	do {					  \
 	do {					  \