mmc: sh_mmcif: report all errors
authorTeppei Kamijou <teppei.kamijou.yb@renesas.com>
Wed, 12 Dec 2012 14:38:18 +0000 (15:38 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 11 Feb 2013 18:28:41 +0000 (13:28 -0500)
commite475b2702f612901772d12110614ad8c3fb5d89b
treec2f21678eb8b8b4fc621f0516a9a9e78f5fb140b
parent276bc96b2abfa2a6bb219aa4eda13c4c331c53eb
mmc: sh_mmcif: report all errors

Make error reporting in the driver more verbose. This patch is based on
an earlier work by Teppei Kamijou, but we try to not add any new error
messages to the log in the normal case to avoid confusing the user, and
also add a few more dev_dbg() calls.

Signed-off-by: Teppei Kamijou <teppei.kamijou.yb@renesas.com>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
[g.liakhovetski@gmx.de: avoid producing new errors in normal case]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c