sdio: don't use CMD[357] as part of a powered SDIO resume
authorChris Ball <cjb@laptop.org>
Fri, 5 Mar 2010 21:43:33 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:37 +0000 (11:26 -0800)
commit3bca4cf703826fcb2bbabbe19c6fc7b2fc4fd7cc
tree6be86594d47aaf9f61febba43cbc0e470bfadabb
parent2f4cbb3d834922ffa0309b6a08fa42dac87ef9d2
sdio: don't use CMD[357] as part of a powered SDIO resume

Seen on a Marvell 8686 SDIO card and Via VX855 controller: we must avoid
sending CMD3/5/7 on a resume where power has been maintained, because the
8686 will refuse to respond to them and the MMC stack will give up on the
card.

Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/core/sdio.c