OSDN Git Service

spi: s3c64xx: Modify SPI driver to use generic DMA DT support
authorPadmavathi Venna <padma.v@samsung.com>
Fri, 18 Jan 2013 11:47:03 +0000 (17:17 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 29 Jan 2013 06:28:52 +0000 (14:28 +0800)
commitb5be04d35dbb2e00ab27a97bfd26e17019e857ef
tree967d77cab993164bdd77f072c945844aca72a433
parente7ba5f1d0f6292e1b99c63cc4bb74c70232e9065
spi: s3c64xx: Modify SPI driver to use generic DMA DT support

This patch modifies the SPI driver to use generic dma dt bindings
support. This passes all the required arguments to dma dev request
functon which in turn calls the dma_request_slave_channel or dma__
request_channel based on DT or non-DT respectively.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-s3c64xx.c