summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFancy Fang <B47543@freescale.com>2013-12-04 15:32:20 +0800
committerFancy Fang <B47543@freescale.com>2013-12-06 16:41:25 +0800
commitbdd9f76fc55210410c28d9f204deb7e41ca0aae2 (patch)
tree7f492b5999b6d90754a20d5b237c8f42191acea6 /include
parentffcad666548417ef21937e0a755d85ab922313a9 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pxp_dma.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pxp_dma.h b/include/linux/pxp_dma.h
index bed6fc2d22fc..7cb5436a575e 100644
--- a/include/linux/pxp_dma.h
+++ b/include/linux/pxp_dma.h
@@ -46,7 +46,6 @@ struct pxp_channel {
unsigned int n_tx_desc;
struct pxp_tx_desc *desc; /* allocated tx-descriptors */
struct list_head active_list; /* active tx-descriptors */
- struct list_head free_list; /* free tx-descriptors */
struct list_head queue; /* queued tx-descriptors */
struct list_head list; /* track queued channel number */
spinlock_t lock; /* protects sg[0,1], queue */