Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0cad7a0 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: mxs-dma: fix the arg to mxs_dma_reset_chan()



mxs_dma_reset_chan() expects struct dma_chan * as argument but we were
providing struct dma_chan, so fix this

Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 1faab1f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ static irqreturn_t mxs_dma_int_handler(int irq, void *dev_id)
			"%s: error in channel %d\n", __func__,
			chan);
		mxs_chan->status = DMA_ERROR;
		mxs_dma_reset_chan(mxs_chan->chan);
		mxs_dma_reset_chan(&mxs_chan->chan);
	} else if (mxs_chan->status != DMA_COMPLETE) {
		if (mxs_chan->flags & MXS_DMA_SG_LOOP) {
			mxs_chan->status = DMA_IN_PROGRESS;