]> 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)
commit11a4b989f27c773026d3fccf1bed1c9bebaddb0b
treec7b7f4ca0407b24e032def7223a78bc731661e14
parentc9feab84441e84e69c5c31760b51789c4af8f507
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