From a1b4d25468ad76345f2453e243133e453eed9e5c Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Sat, 3 Jan 2004 22:33:16 +0000 Subject: - fix memory leak when using custom pagetables for video dma, store the pointer in our saa7146_pagetable struct and free it later on correctly (only used by budget DVB drivers) - remove some commented out debug code --- linux/include/media/saa7146.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/include/media/saa7146.h') diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index 034280d24..b3019ceb7 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -67,6 +67,8 @@ struct saa7146_pgtable { dma_addr_t dma; /* used for offsets for u,v planes for planar capture modes */ unsigned long offset; + /* used for custom pagetables (used for example by budget dvb cards) */ + struct scatterlist *slist; }; struct saa7146_pci_extension_data { -- cgit v1.2.3