OSDN Git Service

spi: s3c64xx: move to generic dmaengine API
authorArnd Bergmann <arnd@arndb.de>
Thu, 11 Apr 2013 20:42:03 +0000 (22:42 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 12 Apr 2013 12:54:58 +0000 (13:54 +0100)
commit788437273fa8b824810ea9a23f7ed4d7fdb2949a
tree79ba33292f981697274cf29534e07617fa196fc2
parent6b8cc3306e78490bda26815b04c786d8e1fc1489
spi: s3c64xx: move to generic dmaengine API

The spi-s3c64xx uses a Samsung proprietary interface for
talking to the DMA engine, which does not work with
multiplatform kernels.

This version of the patch leaves the old code in place,
behind an #ifdef. This can be removed in the future,
after the s3c64xx platform start supporting the regular
dmaengine interface. An earlier version of this patch was
tested successfully on exynos5250 by Padma Venkat.

The conversion was rather mechanical, since the samsung
interface is just a shallow wrapper around the dmaengine
interface.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/plat-samsung/devs.c
drivers/spi/spi-s3c64xx.c
include/linux/platform_data/spi-s3c64xx.h