diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-01-31 18:27:55 +0100 |
---|---|---|
committer | Oliver Endriss <o.endriss@gmx.de> | 2007-01-31 18:27:55 +0100 |
commit | 21cff97b36ee2df7ef06430191da60bcfbfe05f1 (patch) | |
tree | 0e1091baddac82bf943c9bdc1977e1329a4faab6 /linux/drivers/media/common/saa7146_fops.c | |
parent | fc9fbf0841017b835acd49e045bef72fea3c26ce (diff) | |
download | mediapointer-dvb-s2-21cff97b36ee2df7ef06430191da60bcfbfe05f1.tar.gz mediapointer-dvb-s2-21cff97b36ee2df7ef06430191da60bcfbfe05f1.tar.bz2 |
saa7146_vv: pass correct memory size to pci_free_consistent
From: Marco Schluessler <marco@lordzodiac.de>
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>
Diffstat (limited to 'linux/drivers/media/common/saa7146_fops.c')
-rw-r--r-- | linux/drivers/media/common/saa7146_fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_fops.c b/linux/drivers/media/common/saa7146_fops.c index da82d6823..6b429ff37 100644 --- a/linux/drivers/media/common/saa7146_fops.c +++ b/linux/drivers/media/common/saa7146_fops.c @@ -509,7 +509,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; |