dmaengine: at_hdmac: extend hardware handshaking interface identification
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 10 May 2013 13:19:14 +0000 (15:19 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:29 +0000 (11:40 +0530)
commit72ae6e4b31e40397eaa81007b39a1074638a6798
treec7b7f4ca0407b24e032def7223a78bc731661e14
parentea7e79063e604c89b16b819d2e88b20c421d9514
dmaengine: at_hdmac: extend hardware handshaking interface identification

Peripheral handshaking identification numbers can be bigger than 15, so new
fields have been created in the CFG register.
Add macros to take this modification into account and use them in
at_dma_xlate() function.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_hdmac.c
include/linux/platform_data/dma-atmel.h