]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhi/tmio: make DMA filter implementation specific
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 26 Apr 2013 15:47:17 +0000 (17:47 +0200)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:19 +0000 (14:23 -0400)
commitd1b170d9fc7a571e1dd3f66a25a8d61ecb15fea8
treeedf494afa3c628bf9a91242c0e9cba1717d82891
parent281571bc6fde2aaa619517cf19a16c1484f230f8
mmc: sdhi/tmio: make DMA filter implementation specific

So far only the SDHI implementation uses TMIO MMC with DMA. That way a DMA
channel filter function, defined in the TMIO driver wasn't a problem.
However, such a filter function is DMA controller specific. Since the SDHI
glue is only running on systems with the SHDMA DMA controller, the filter
function can safely be provided by it. Move it into SDHI.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc_dma.c
include/linux/mfd/tmio.h