]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: MMC driver interoperability updates
authorJuha Yrjola <juha.yrjola@nokia.com>
Tue, 21 Feb 2006 15:57:23 +0000 (17:57 +0200)
committerJuha Yrjola <juha.yrjola@nokia.com>
Tue, 21 Feb 2006 15:57:23 +0000 (17:57 +0200)
commitc5bf698854c63bb8e74566337777125440bdc677
tree030a7d9f422cfca4a7a78d403837be4af06bb7d5
parent1490b86f74a637c5e8586d95f97937f434795089
ARM: OMAP: MMC driver interoperability updates

- Decreased the MMC max sectors count

Some MMC cards get stuck hard when the max sectors count is >= 128.

- Add a delay after enabling the MMC power regulators

Regulator voltages typically have a rising delay. We have to make sure
the voltage has stabilized before sending the MMC init sequence.

- Add MMC cover switch last state initialization

The default last state was left to value 0 (= cover closed). If the cover
switch was initially open and then closed, no kevent about it is sent,
because the state didn't change from the last seen state.

- Add MMC transfer timeout

Very rarely the controller itself gets stuck. It needs a really hard reset
to recover. Add a timeout to work around against this.

Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
drivers/mmc/omap.c