From: Juha Yrjola Date: Tue, 21 Feb 2006 15:57:23 +0000 (+0200) Subject: ARM: OMAP: MMC driver interoperability updates X-Git-Tag: v2.6.16-omap1~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5bf698854c63bb8e74566337777125440bdc677;p=pandora-kernel.git 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ä --- Reading git-diff-tree failed