dmaengine: qcom_hidma: add error reporting for tx_status
[platform/kernel/linux-rpi.git] / drivers / dma / qcom / hidma.h
index db413a5..e52e207 100644 (file)
@@ -72,7 +72,6 @@ struct hidma_lldev {
 
        u32 tre_write_offset;           /* TRE write location              */
        struct tasklet_struct task;     /* task delivering notifications   */
-       struct tasklet_struct rst_task; /* task to reset HW                */
        DECLARE_KFIFO_PTR(handoff_fifo,
                struct hidma_tre *);    /* pending TREs FIFO               */
 };
@@ -89,6 +88,7 @@ struct hidma_chan {
        bool                            allocated;
        char                            dbg_name[16];
        u32                             dma_sig;
+       dma_cookie_t                    last_success;
 
        /*
         * active descriptor on this channel