summaryrefslogtreecommitdiff
path: root/drivers/dma/ptdma/ptdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/ptdma/ptdma.h')
-rw-r--r--drivers/dma/ptdma/ptdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ptdma/ptdma.h b/drivers/dma/ptdma/ptdma.h
index d093c43b7d13..21b4bf895200 100644
--- a/drivers/dma/ptdma/ptdma.h
+++ b/drivers/dma/ptdma/ptdma.h
@@ -196,7 +196,7 @@ struct pt_cmd_queue {
struct ptdma_desc *qbase;
/* Aligned queue start address (per requirement) */
- struct mutex q_mutex ____cacheline_aligned;
+ spinlock_t q_lock ____cacheline_aligned;
unsigned int qidx;
unsigned int qsize;