Commit 3bf648cc authored by James Bottomley's avatar James Bottomley Committed by James Bottomley

dma_release_declared_memory needs iounmap

Spotted by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 661af437
......@@ -122,6 +122,7 @@ void dma_release_declared_memory(struct device *dev)
if(!mem)
return;
dev->dma_mem = NULL;
iounmap(mem->virt_base);
kfree(mem->bitmap);
kfree(mem);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment