[PATCH] mmc: avoid some resets without card
authorPierre Ossman <drzeus@drzeus.cx>
Wed, 4 Oct 2006 09:15:40 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:14 +0000 (07:55 -0700)
commit8a4da1430f7f2a16df3be9c7b5d55ba4e75b708c
tree1a4eb2814db6b2f6a14e2955daa784edb2a453de
parent5f25a66f6bbac563c94af94f03491b3ae43c40af
[PATCH] mmc: avoid some resets without card

Some Ricoh controllers only respect a full reset when there is no card in the
slot.  As we wait for the reset to complete, we must avoid even requesting
those resets on the buggy controllers.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mmc/sdhci.c