aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/Kconfig
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2018-03-15 07:22:35 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-19 19:56:02 +0100
commit8b634a9c7620b15691322cd53071122d2ab249a7 (patch)
tree551ea7df3e3f7870d22b4b9f8ae8333bdf5ebda8 /drivers/staging/Kconfig
parentstaging: mt7621-dma: ralink: add rt2880 dma engine (diff)
downloadlinux-dev-8b634a9c7620b15691322cd53071122d2ab249a7.tar.xz
linux-dev-8b634a9c7620b15691322cd53071122d2ab249a7.zip
staging: mt7621-mmc: MIPS: ralink: add sdhci for mt7620a SoC
NeilBrown: Added range-check on pdev->id before assigning ot host->id of_dma_configure() sets a default ->dma_mask of DMA_BIT_MASK(32), claiming devices can DMA from the full 32bit address space. The mtk-mmc driver does not support access to highmem pages, so it is really limited to the bottom 512M (actually 448M due to 64M of IO space). Setting ->dma_mask to NULL causes mmc_setup_queue() to fall-back to using BLK_BOUNCE_HIGH to tell the block layer to use a bounce-buffer for any highmem pages requiring IO. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/Kconfig')
-rw-r--r--drivers/staging/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index 8b7b66d47516..4fc5295f79fd 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -126,4 +126,6 @@ source "drivers/staging/mt7621-spi/Kconfig"
source "drivers/staging/mt7621-dma/Kconfig"
+source "drivers/staging/mt7621-mmc/Kconfig"
+
endif # STAGING