]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/pxp_dma.h
ENGR00291729 PXP: remove a mutex lock from pxp channel
[karo-tx-linux.git] / include / linux / pxp_dma.h
index 61b3e7de4c5784e2a19483290a72261511533f61..613d89f143f93d643b70c50cbfe44f34a4643bc8 100644 (file)
@@ -47,8 +47,9 @@ struct pxp_channel {
        struct pxp_tx_desc *desc;       /* allocated 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 */
-       struct mutex chan_mutex;        /* protects status, cookie, free_list */
+       spinlock_t lock;        /* protects sg[0,1], queue,
+                                * status, cookie, free_list
+                                */
        int active_buffer;
        unsigned int eof_irq;
        char eof_name[16];      /* EOF IRQ name for request_irq()  */