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)
commit03a0675b2a112038a8a5078d8815e3f7356c7064
treeedf494afa3c628bf9a91242c0e9cba1717d82891
parentfc79a4d6dfa736672281aedbe384ece1f0044756
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