]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00292607 PXP: define a static dma_chan array to record channel status
authorFancy Fang <B47543@freescale.com>
Wed, 18 Dec 2013 08:34:05 +0000 (16:34 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:09:14 +0000 (18:09 +0200)
commit77bbdb1b1976e76942870bd5165207479c702ac9
tree8dfb1d4c269c968357b1bfd846264e92c9bcf1e5
parent1fcca7bf53462d8d843b1f824ec6d152def7fd44
ENGR00292607 PXP: define a static dma_chan array to record channel status

Since the number of dma channels is constant, it is more efficient
to use an array to record all the channels alloc/free status.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/dma/pxp/pxp_device.c