Skip to content

Commit

Permalink
s3cmci: Make general protocol errors less noisy
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Pierre Ossman <[email protected]>
  • Loading branch information
[email protected] authored and Pierre Ossman committed Oct 15, 2008
1 parent 8dddfe1 commit 9c2e7e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/host/s3cmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 { \
Expand Down

0 comments on commit 9c2e7e4

Please sign in to comment.