|
@@ -1169,7 +1169,7 @@ static void pl08x_desc_free(struct virt_dma_desc *vd)
|
|
struct pl08x_txd *txd = to_pl08x_txd(&vd->tx);
|
|
struct pl08x_txd *txd = to_pl08x_txd(&vd->tx);
|
|
struct pl08x_dma_chan *plchan = to_pl08x_chan(vd->tx.chan);
|
|
struct pl08x_dma_chan *plchan = to_pl08x_chan(vd->tx.chan);
|
|
|
|
|
|
- dma_descriptor_unmap(txd);
|
|
|
|
|
|
+ dma_descriptor_unmap(&vd->tx);
|
|
if (!txd->done)
|
|
if (!txd->done)
|
|
pl08x_release_mux(plchan);
|
|
pl08x_release_mux(plchan);
|
|
|
|
|