summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFancy Fang <B47543@freescale.com>2013-12-11 14:22:35 +0800
committerFancy Fang <B47543@freescale.com>2013-12-13 17:10:52 +0800
commitcba8575d0a441657702cb2e5da4efc4e473a290b (patch)
tree8a82c7e7e51623f2322e1c6cfd39976692709f55 /include
parentb1db0df686a4d9a7d90fe5a329ad41a18990eda5 (diff)
ENGR00291658 PXP: allow PXP device users to submit multiple tasks before start PXP
After the commit "ffcad666548417ef21937e0a755d85ab922313a9" pushed, adding this support in PXP device driver is also necessary. This change allows users to submit more than one PXP tasks followd by only one wait for finished ioctl. It means that users can wait for more than one tasks done by calling one PXP_IOC_WAIT4CMPLT ioctl. Signed-off-by: Fancy Fang <B47543@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pxp_dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pxp_dma.h b/include/linux/pxp_dma.h
index 41c8a39042c3..61b3e7de4c57 100644
--- a/include/linux/pxp_dma.h
+++ b/include/linux/pxp_dma.h
@@ -58,6 +58,7 @@ struct pxp_irq_info {
wait_queue_head_t waitq;
int irq_pending;
int hist_status;
+ spinlock_t lock;
};
#define to_tx_desc(tx) container_of(tx, struct pxp_tx_desc, txd)