diff options
author | ben@fluff.org.uk <ben@fluff.org.uk> | 2008-10-14 19:17:15 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-10-15 12:04:40 -0400 |
commit | 9c2e7e40bf85684eebc019e915c39c4c07c734fa (patch) | |
tree | 4dbcd4e18e3c3c868b260d13022d05dfc7cd4bf7 | |
parent | 8dddfe192632361b62eee9c8320bc9feff57898b (diff) |
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>
-rw-r--r-- | drivers/mmc/host/s3cmci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index ae16d845d746..2af630639910 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c | |||
@@ -39,9 +39,9 @@ enum dbg_channels { | |||
39 | dbg_conf = (1 << 8), | 39 | dbg_conf = (1 << 8), |
40 | }; | 40 | }; |
41 | 41 | ||
42 | static const int dbgmap_err = dbg_err | dbg_fail; | 42 | static const int dbgmap_err = dbg_fail; |
43 | static const int dbgmap_info = dbg_info | dbg_conf; | 43 | static const int dbgmap_info = dbg_info | dbg_conf; |
44 | static const int dbgmap_debug = dbg_debug; | 44 | static const int dbgmap_debug = dbg_err | dbg_debug; |
45 | 45 | ||
46 | #define dbg(host, channels, args...) \ | 46 | #define dbg(host, channels, args...) \ |
47 | do { \ | 47 | do { \ |