mmc: don't call switch on old cards
authorPierre Ossman <drzeus@drzeus.cx>
Thu, 31 May 2007 20:25:11 +0000 (22:25 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Thu, 7 Jun 2007 07:25:58 +0000 (09:25 +0200)
commit3373c0ae6a51085b10a95fd9d2214a9995ef7563
tree0a25f54463f21b90d9c06b9bb4bbecb21880e18c
parent71651297a448289353b2493c6c3c183f9be7be7c
mmc: don't call switch on old cards

Make sure we don't call the switch function on cards too old to
support it. They should just ignore it, but some have been reported
to lock up instead.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/sd.c