projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608c562
)
ARM: shmobile: kzm9g: enable DMAEngine on SHDI0 and SDHI2
author
Tetsuyuki Kobayashi
<koba@kmckk.co.jp>
Thu, 6 Sep 2012 09:09:31 +0000
(09:09 +0000)
committer
Simon Horman
<horms@verge.net.au>
Tue, 30 Oct 2012 07:21:12 +0000
(15:21 +0800)
This patch enables DMAEngine on SHDI0 and SDHI2 for kzm9g.
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
arch/arm/mach-shmobile/board-kzm9g.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-shmobile/board-kzm9g.c
b/arch/arm/mach-shmobile/board-kzm9g.c
index 1a464220074730a434879bb9028757bb12060ca4..f63f2eeb0205d4361226a95ccb68fb5b34571bfa 100644
(file)
--- a/
arch/arm/mach-shmobile/board-kzm9g.c
+++ b/
arch/arm/mach-shmobile/board-kzm9g.c
@@
-384,6
+384,8
@@
static struct regulator_consumer_supply fixed2v8_power_consumers[] =
/* SDHI */
static struct sh_mobile_sdhi_info sdhi0_info = {
+ .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
+ .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
.tmio_caps = MMC_CAP_SD_HIGHSPEED,
.tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29,
@@
-424,6
+426,8
@@
static struct platform_device sdhi0_device = {
/* Micro SD */
static struct sh_mobile_sdhi_info sdhi2_info = {
+ .dma_slave_tx = SHDMA_SLAVE_SDHI2_TX,
+ .dma_slave_rx = SHDMA_SLAVE_SDHI2_RX,
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT |
TMIO_MMC_USE_GPIO_CD |
TMIO_MMC_WRPROTECT_DISABLE,