]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19cf9bd32e875ef9db9e78e0eaba9da64fac26e7
treec7b7f4ca0407b24e032def7223a78bc731661e14
parent0edbdbc82dd96b3b2e3e1e4501a273f6a299e401
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