mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
V4L/DVB (5160): Saa7146_vv: pass correct memory size to pci_free_consistent
Pass correct memory size to pci_free_consistent. Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
7857735b3a
commit
58af00456a
@ -508,7 +508,7 @@ int saa7146_vv_release(struct saa7146_dev* dev)
|
||||
|
||||
DEB_EE(("dev:%p\n",dev));
|
||||
|
||||
pci_free_consistent(dev->pci, SAA7146_RPS_MEM, vv->d_clipping.cpu_addr, vv->d_clipping.dma_handle);
|
||||
pci_free_consistent(dev->pci, SAA7146_CLIPPING_MEM, vv->d_clipping.cpu_addr, vv->d_clipping.dma_handle);
|
||||
kfree(vv);
|
||||
dev->vv_data = NULL;
|
||||
dev->vv_callback = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user