From: Alexander Shiyan Date: Sat, 6 Apr 2013 06:13:31 +0000 (+0400) Subject: mmc: mxcmmc: Fix bug when card is present during boot X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~41^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abd4190f0c820b7f118450b52bb95c0be3a441bd;p=pandora-kernel.git mmc: mxcmmc: Fix bug when card is present during boot This patch fixes bug when card is present during boot. Bug was introduced due commit "mmc: mxcmmc: fix bug that may block a data transfer forever". When a card is present "mxcmci_setup_data" function is executed, but the timer is not initialized. ... i.MX SDHC driver mmc0: SD Status: Invalid Allocation Unit size. mmc0: new SD card at address b368 mmcblk0: mmc0:b368 SDC 1.91 GiB ------------[ cut here ]------------ kernel BUG at kernel/timer.c:729! Internal error: Oops - BUG: 0 [#1] PREEMPT ARM CPU: 0 Not tainted (3.9.0-rc5-next-20130404 #2) PC is at mod_timer+0x168/0x198 LR is at mxcmci_request+0x21c/0x328 ... Signed-off-by: Alexander Shiyan Acked-by: Sascha Hauer Signed-off-by: Chris Ball --- Reading git-diff-tree failed