]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mmc: warn about voltage mismatches
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 31 Dec 2008 17:50:30 +0000 (09:50 -0800)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 31 Dec 2008 18:27:18 +0000 (19:27 +0100)
commitf6e10b865c3ea56bdaa8c6ecfee313b997900dbb
tree88871cb356ec512e7f4c721b84ea67a69d9543f7
parent9c43df57910bbba540a6cb5c9132302a9ea5f41a
mmc: warn about voltage mismatches

Get rid of a silent failure mode when the MMC/SD host doesn't
support the voltages needed to operate a given card, by
adding a warning.  A 3.3V host and a 3.0V card, for example,
no longer need to mysteriously just not work at all.

This isn't the best diagnostic; ideally it would also tell
what voltage the card and host support (and not just by
dumping the bitmasks).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/core.c