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)
commitccdce9a041185b2ed3009bfe426130eecdf4f551
treef26f8a85459a35272fb1f529c89a82c3f1d7058b
parentcf7f7a2b4b1ec2305d2ba518c69109cc110e70f8
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