diff options
Diffstat (limited to 'recipes-kernel/linux/linux-3.0/beagle/0007-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch')
-rw-r--r-- | recipes-kernel/linux/linux-3.0/beagle/0007-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-kernel/linux/linux-3.0/beagle/0007-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch b/recipes-kernel/linux/linux-3.0/beagle/0007-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch deleted file mode 100644 index e79f513c..00000000 --- a/recipes-kernel/linux/linux-3.0/beagle/0007-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 47be8c9046c22715ce646091dd9e98fa87fc86e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Steve Sakoman <steve@sakoman.com> | ||
3 | Date: Mon, 18 Jul 2011 23:13:41 -0500 | ||
4 | Subject: [PATCH 07/10] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts | ||
5 | |||
6 | This fixes MMC errors due to timeouts on certain SD Cards following suggestions | ||
7 | to set dto to 14 by Jason Kridner and Steven Kipisz | ||
8 | |||
9 | Details of the issue: | ||
10 | http://talk.maemo.org/showthread.php?p=1000707#post1000707 | ||
11 | |||
12 | This fix was originally proposed by Sukumar Ghoral of TI. | ||
13 | --- | ||
14 | drivers/mmc/host/omap_hsmmc.c | 3 +++ | ||
15 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
16 | |||
17 | diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c | ||
18 | index dedf3da..a8a60d4 100644 | ||
19 | --- a/drivers/mmc/host/omap_hsmmc.c | ||
20 | +++ b/drivers/mmc/host/omap_hsmmc.c | ||
21 | @@ -1441,6 +1441,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host, | ||
22 | dto = 14; | ||
23 | } | ||
24 | |||
25 | + /* Set dto to max value of 14 to avoid SD Card timeouts */ | ||
26 | + dto = 14; | ||
27 | + | ||
28 | reg &= ~DTO_MASK; | ||
29 | reg |= dto << DTO_SHIFT; | ||
30 | OMAP_HSMMC_WRITE(host->base, SYSCTL, reg); | ||
31 | -- | ||
32 | 1.7.2.5 | ||
33 | |||