]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
omap_hsmmc: only MMC1 allows HCTL.SDVS != 1.8V
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 17 Feb 2009 22:49:01 +0000 (14:49 -0800)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 18 Feb 2009 21:09:56 +0000 (22:09 +0100)
commiteb25082657be3e7639e349fc926afdcbb0a4dc65
treed311c5c0d95c9837e2a7b8b54bf0aa256df5bd7f
parent249d0fa9d59b6165ecc224720d9ce9b7267cf1b8
omap_hsmmc: only MMC1 allows HCTL.SDVS != 1.8V

Based on a patch from Tony Lindgren ... after initialization,
never change HCTL.SDVS except for MMC1.  The other controller
instances only support 1.8V in that field, although they can
suport other card/SDIO/eMMC/... voltages with level shifting
solutions such as external transceivers.

MMC2 behavior sanity tested on Overo/WLAN, OMAP3430 SDP, and
custom hardware.  MMC1 also sanity tested on those platforms
plus Beagle.  This also fixes a bug preventing MMC2 (and also
presumably MMC3) from powering down when requested.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/omap_hsmmc.c