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: NJohn Crispin <blogic@openwrt.org> Signed-off-by: NNeilBrown <neil@brown.name> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
drivers/staging/mt7621-mmc/TODO
0 → 100644
drivers/staging/mt7621-mmc/dbg.c
0 → 100644
drivers/staging/mt7621-mmc/dbg.h
0 → 100644
此差异已折叠。
drivers/staging/mt7621-mmc/sd.c
0 → 100644
此差异已折叠。
想要评论请 注册 或 登录