diff options
author | Fancy Fang <B47543@freescale.com> | 2013-12-04 15:32:20 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:47:27 -0500 |
commit | a9553b197a777276c56e462528c644be9eba0914 (patch) | |
tree | 8ac1ca07c8238cede735bd4d45a477387f32a08c /include | |
parent | 6ffedb376b9427e327ae052d6a27e4813d5b4d7b (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.h | 1 |
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 */ |