]> 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)
commitd25effef471ab006966cb6d11814900278ab81a2
treeedf494afa3c628bf9a91242c0e9cba1717d82891
parent141a66d9d8da2a3c45250dc0ec0151bb8404a57e
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