dma: mmp_pdma: Simplify access to channel drcmr value
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 15 Apr 2014 15:13:34 +0000 (17:13 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 2 May 2014 15:49:07 +0000 (21:19 +0530)
commita2a7c176cc4ae48ec1589429ef12b89975963b48
tree1ab4034f3b835c8755d5a0b569e12eef6bbc9501
parentaf98715f28174fabea8f1bea3d297b8f0ad1f84b
dma: mmp_pdma: Simplify access to channel drcmr value

As the physical channel and virtual channel point to each other,
pchan->phy->vchan is always equal to pchan. Simplify the code
accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c