• Arnd Bergmann's avatar
    spi: s3c64xx: move to generic dmaengine API · 78843727
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    78843727
spi-s3c64xx.c 42.4 KB