diff options
-rw-r--r-- | drivers/dma/pxp/pxp_dma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/pxp/pxp_dma.c b/drivers/dma/pxp/pxp_dma.c index d87b1d278d24..1545682f7c13 100644 --- a/drivers/dma/pxp/pxp_dma.c +++ b/drivers/dma/pxp/pxp_dma.c @@ -767,8 +767,6 @@ static void pxpdma_dostart_work(struct pxps *pxp) pxp_start(pxp); - mod_timer(&pxp->clk_timer, jiffies + msecs_to_jiffies(timeout_in_ms)); - spin_unlock_irqrestore(&pxp->lock, flags); } @@ -956,6 +954,7 @@ static irqreturn_t pxp_irq(int irq, void *dev_id) wake_up(&pxp->done); pxp->pxp_ongoing = 0; + mod_timer(&pxp->clk_timer, jiffies + msecs_to_jiffies(timeout_in_ms)); spin_unlock_irqrestore(&pxp->lock, flags); |