]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00290664 PXP: allocate DMA TX descriptors on demand instead of in PXP initialization
authorFancy Fang <B47543@freescale.com>
Wed, 4 Dec 2013 07:32:20 +0000 (15:32 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:48 +0000 (10:06 +0200)
commite9c0992eccef47babbeeefaac73264a451820418
tree291bce3a4edd9aa26c10ad66540a2c5a7a459b1c
parentde64cdb62e3f6992fa59e4128a9785f03c92dd2d
ENGR00290664 PXP: allocate DMA TX descriptors on demand instead of in PXP initialization

In previous PXP driver, the number of tx descriptors allocated
for each channel is a constant 16 and they can only be allocated
during PXP initialization. But since the driver allows users to
queue more than one PXP tasks for each channel before issuing
pending tasks, so in this case the descriptors may be not enough
for some cases.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/dma/pxp/pxp_dma_v2.c
include/linux/pxp_dma.h