]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc: dw_mmc: Avoid using printf() for errors
authorSimon Glass <sjg@chromium.org>
Fri, 7 Aug 2015 02:16:27 +0000 (20:16 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:42 +0000 (08:17 +0200)
commit62c8c0e6a3b304bb8199a168887561f4acc79021
treebb8b0a8acc871700329cdc30c954cca25edc4bbb
parent6bddec33f4c5500c1801759b56494de00e1312aa
mmc: dw_mmc: Avoid using printf() for errors

The dw_mmc driver uses printf() in various places.

These bloat the code and cause problems for SPL. Use debug() where possible
and try to return a useful error code instead.

panto: Small rework to make it apply against top of tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/dw_mmc.c