summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorben@fluff.org.uk <ben@fluff.org.uk>2008-10-15 00:17:15 +0100
committerPierre Ossman <drzeus@drzeus.cx>2008-10-15 18:04:40 +0200
commit9c2e7e40bf85684eebc019e915c39c4c07c734fa (patch)
tree4dbcd4e18e3c3c868b260d13022d05dfc7cd4bf7 /drivers/mmc
parent8dddfe192632361b62eee9c8320bc9feff57898b (diff)
downloadop-kernel-dev-9c2e7e40bf85684eebc019e915c39c4c07c734fa.zip
op-kernel-dev-9c2e7e40bf85684eebc019e915c39c4c07c734fa.tar.gz
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/s3cmci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
index ae16d84..2af6306 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 { \
OpenPOWER on IntegriCloud