diff options
author | Marco Schluessler <marco@lordzodiac.de> | 2007-01-31 12:27:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:35:09 -0500 |
commit | 58af00456ac6b3158c99a3c6b3435c88d4f25a0e (patch) | |
tree | ed2049b8a100f407da1288e823dd9c650182d592 | |
parent | 7857735b3a6695a90fa3c8808bf96385ac5a95dc (diff) |
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>
-rw-r--r-- | drivers/media/common/saa7146_fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/saa7146_fops.c b/drivers/media/common/saa7146_fops.c index b8dcfa165266..c18a5da64934 100644 --- a/drivers/media/common/saa7146_fops.c +++ b/drivers/media/common/saa7146_fops.c | |||
@@ -508,7 +508,7 @@ int saa7146_vv_release(struct saa7146_dev* dev) | |||
508 | 508 | ||
509 | DEB_EE(("dev:%p\n",dev)); | 509 | DEB_EE(("dev:%p\n",dev)); |
510 | 510 | ||
511 | pci_free_consistent(dev->pci, SAA7146_RPS_MEM, vv->d_clipping.cpu_addr, vv->d_clipping.dma_handle); | 511 | pci_free_consistent(dev->pci, SAA7146_CLIPPING_MEM, vv->d_clipping.cpu_addr, vv->d_clipping.dma_handle); |
512 | kfree(vv); | 512 | kfree(vv); |
513 | dev->vv_data = NULL; | 513 | dev->vv_data = NULL; |
514 | dev->vv_callback = NULL; | 514 | dev->vv_callback = NULL; |