]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: esdhc: set the timeout to the max value
authorJerry Huang <Chang-Ming.Huang@freescale.com>
Mon, 16 Jan 2012 06:13:04 +0000 (14:13 +0800)
committerChris Ball <cjb@laptop.org>
Tue, 14 Feb 2012 01:38:59 +0000 (20:38 -0500)
commitc8d3adb0c3a73510d45c888e133de14c2f8e4d9c
tree2728cc3ddb9e85867986120d714200ca9c0af90b
parent50bad50ba81934800bb4a05c829a979bbb4a20d0
mmc: esdhc: set the timeout to the max value

When accessing the card on some FSL platform boards (e.g p2020, p1010,
mpc8536), the following error is reported with the timeout value calculated:

mmc0: Got data interrupt 0x00000020 even though no data operation was
in progress.
mmc0: Got data interrupt 0x00000020 even though no data operation was
in progress.

So we skip the calculation of timeout and use the max value to fix it.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Gao Guanhua <B22826@freescale.com>
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pltfm.c