From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov) Date: Sun, 25 Aug 2013 21:47:26 +0400 Subject: [PATCH v2 2/2] ARM: shmobile: Marzen: enable DMA for SDHI0 In-Reply-To: <201308252143.33458.sergei.shtylyov@cogentembedded.com> References: <201308252143.33458.sergei.shtylyov@cogentembedded.com> Message-ID: <201308252147.27210.sergei.shtylyov@cogentembedded.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Max Filippov Pass HPB-DMA slave IDs in the SDHI0 platform data to enable DMA in the SDHI driver. Signed-off-by: Max Filippov [Sergei: removed #include ] Signed-off-by: Sergei Shtylyov --- Changes in version 2: - refreshed the patch. arch/arm/mach-shmobile/board-marzen.c | 2 ++ 1 file changed, 2 insertions(+) Index: renesas/arch/arm/mach-shmobile/board-marzen.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/board-marzen.c +++ renesas/arch/arm/mach-shmobile/board-marzen.c @@ -123,6 +123,8 @@ static struct resource sdhi0_resources[] }; static struct sh_mobile_sdhi_info sdhi0_platform_data = { + .dma_slave_tx = HPBDMA_SLAVE_SDHI0_TX, + .dma_slave_rx = HPBDMA_SLAVE_SDHI0_RX, .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT, .tmio_caps = MMC_CAP_SD_HIGHSPEED, };