X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=drivers%2Fdma-buf%2Fudmabuf.c;h=9635897458a09e660a07ef29064b6a1fb6995bbc;hp=cd57747286f286d44dcc57f1829bcee64214a9f2;hb=283f1e383e91d96fe652fad549537ae15cf31d60;hpb=1b4fd5d38c633344bca57c1dd874c49474c94462 diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c index cd57747286f2..9635897458a0 100644 --- a/drivers/dma-buf/udmabuf.c +++ b/drivers/dma-buf/udmabuf.c @@ -77,6 +77,7 @@ static void unmap_udmabuf(struct dma_buf_attachment *at, struct sg_table *sg, enum dma_data_direction direction) { + dma_unmap_sg(at->dev, sg->sgl, sg->nents, direction); sg_free_table(sg); kfree(sg); }