summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFancy Fang <B47543@freescale.com>2013-12-09 18:36:39 +0800
committerFancy Fang <B47543@freescale.com>2013-12-13 10:27:19 +0800
commitdd62ac5ae9d63571da7f34a0428e9259ff90b8e6 (patch)
treeac347865c96081018513efd3a6458b2a809d2a65 /include
parent9407867d7f05e4246aab5a9e383c01099a464958 (diff)
ENGR00291400 PXP: Organize PXP task queue to be FIFO
The requested PXP tasks were handled based on channel unit. All the tasks in one channel were handled one by one, and the tasks in another channel only can get chance after all the tasks in previous channel were finished. So this may allow some channel occupies PXP hardware exclusively all the time, and other channels may never get PXP services. So this change makes the PXP task queue to be a FIFO to avoid this kind of unfair usage for PXP. 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 7cb5436a575e..41c8a39042c3 100644
--- a/include/linux/pxp_dma.h
+++ b/include/linux/pxp_dma.h
@@ -45,7 +45,6 @@ struct pxp_channel {
void *client; /* Only one client per 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 queue; /* queued tx-descriptors */
struct list_head list; /* track queued channel number */
spinlock_t lock; /* protects sg[0,1], queue */