[PATCH] mci: be more verbose about wrong bus-width

Sascha Hauer s.hauer at pengutronix.de
Wed May 3 04:54:14 PDT 2017


On Sun, Apr 30, 2017 at 03:45:58PM +0200, Christoph Fritz wrote:
> If configured or default bus-width is wrong for the current hardware,
> registration of card/emmc is likely to fail.  This patch adds more verbosity
> in the case of a failed detection:
> 
>     | omap-hsmmc 48060000.mmc: registered as 48060000.mmc
>     | mmc0: detected MMC card version 4.41
>     | mmc0: Changing MMC bus width failed: -110
>     | mmc0: Card's startup fails with -110
> 
> Signed-off-by: Christoph Fritz <chf.fritz at googlemail.com>
> ---
>  drivers/mci/mci-core.c | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list