summaryrefslogtreecommitdiffstats
path: root/drivers/dma/amba-pl08x.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-30 01:53:57 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-30 01:53:57 +0100
commitfbd22402164e687fd1be9a1372ee4f6b9373c860 (patch)
treefd86c8b2f8ed120a2229a1de7959f0d4e56c8008 /drivers/dma/amba-pl08x.c
parentPM / Sleep: Add macro to define common late/early system PM callbacks (diff)
parentPM / sleep: Fix memory leak in pm_vt_switch_unregister(). (diff)
downloadlinux-fbd22402164e687fd1be9a1372ee4f6b9373c860.tar.xz
linux-fbd22402164e687fd1be9a1372ee4f6b9373c860.zip
Merge back earlier 'pm-sleep' material.
Diffstat (limited to 'drivers/dma/amba-pl08x.c')
-rw-r--r--drivers/dma/amba-pl08x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c
index 16a2aa28f856..ec4ee5c1fe9d 100644
--- a/drivers/dma/amba-pl08x.c
+++ b/drivers/dma/amba-pl08x.c
@@ -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_dma_chan *plchan = to_pl08x_chan(vd->tx.chan);
- dma_descriptor_unmap(txd);
+ dma_descriptor_unmap(&vd->tx);
if (!txd->done)
pl08x_release_mux(plchan);