]> git.baikalelectronics.ru Git - kernel.git/commit
DMA: Freescale: unify register access methods
authorHongbo Zhang <hongbo.zhang@freescale.com>
Fri, 18 Apr 2014 08:17:45 +0000 (16:17 +0800)
committerVinod Koul <vinod.koul@intel.com>
Fri, 2 May 2014 16:47:42 +0000 (22:17 +0530)
commit449cbee6042c241ca89400df1aac48d43182aac6
treef26f8a85459a35272fb1f529c89a82c3f1d7058b
parent0709a45758f34fa638f4c5bfcb6ce6d2fd211637
DMA: Freescale: unify register access methods

Methods of accessing DMA controller registers are inconsistent, some registers
are accessed by DMA_IN/OUT directly, while others are accessed by functions
get/set_* which are wrappers of DMA_IN/OUT, and even for the BCR register, it
is read by get_bcr but written by DMA_OUT.
This patch unifies the inconsistent methods, all registers are accessed by
get/set_* now.

Signed-off-by: Hongbo Zhang <hongbo.zhang@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/fsldma.c