diff options
author | Hanumath Prasad <hanumath.prasad@stericsson.com> | 2011-10-12 17:04:55 +0530 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-27 16:08:52 +0200 |
commit | 4f3ddba880d319aa37f7b83ec8565d97d8708c0c (patch) | |
tree | 3ef880a2728ea0117cfa5d5c446a5abec771c5a4 | |
parent | 47932c41e0610a7d1cc7ed8e370bc89e9f6f6dbf (diff) |
mach-ux500:u5500: Temporarily disable DMA for sd
Due to problem with multiple insertion of SD card in DMA mode
the dma support for SD cad is disabled temporarily.
ST-Ericsson Id: ER 365282
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic4bf04f5b3a7d4fe8c2e1d18be11308f5e7eb108
Signed-off-by: Hanumath Prasad <hanumath.prasad@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33785
Reviewed-by: QABUILD
Reviewed-by: Preetham-rao K <preetham.rao@stericsson.com>
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/board-u5500-sdi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-u5500-sdi.c b/arch/arm/mach-ux500/board-u5500-sdi.c index b2801f76fa1..475e41e0628 100644 --- a/arch/arm/mach-ux500/board-u5500-sdi.c +++ b/arch/arm/mach-ux500/board-u5500-sdi.c @@ -88,6 +88,7 @@ static int u5500_sdi1_ios_handler(struct device *dev, struct mmc_ios *ios) return 0; } +#ifdef SD_WORKAROUND static struct stedma40_chan_cfg sdi1_dma_cfg_rx = { .mode = STEDMA40_MODE_LOGICAL, .dir = STEDMA40_PERIPH_TO_MEM, @@ -105,7 +106,7 @@ static struct stedma40_chan_cfg sdi1_dma_cfg_tx = { .src_info.data_width = STEDMA40_WORD_WIDTH, .dst_info.data_width = STEDMA40_WORD_WIDTH, }; - +#endif static struct mmci_platform_data u5500_sdi1_data = { .ios_handler = u5500_sdi1_ios_handler, .ocr_mask = MMC_VDD_29_30, @@ -116,11 +117,13 @@ static struct mmci_platform_data u5500_sdi1_data = { .gpio_cd = GPIO_SDMMC_CD, .gpio_wp = -1, .cd_invert = true, +#ifdef SD_WORKAROUND #ifdef CONFIG_STE_DMA40 .dma_filter = stedma40_filter, .dma_rx_param = &sdi1_dma_cfg_rx, .dma_tx_param = &sdi1_dma_cfg_tx, #endif +#endif }; /* |