mmc: sdhci: highspeed: check for mmc as well as sd cards
authorPhilip Rakity <prakity@marvell.com>
Wed, 6 Oct 2010 18:57:23 +0000 (11:57 -0700)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:19 +0000 (21:11 +0800)
commit3ab9c8dad6444007700b5949ec80cfdc823d31b4
tree36ea3a773543fa07ae66215d1fead2a0c01f4755
parentf9ee3eab528d2d21c33584bfb86ed1ebf317cb09
mmc: sdhci: highspeed: check for mmc as well as sd cards

The SD and MMC code set highspeed using different constants.
Change the sd driver to recognize this and switch to high speed.
Validated code when testing eMMC dual data rate.

Signed-off-by: Philip Rakity <prakity@marvell.com>
[cjb: changelog + indentation fixes]
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c