summaryrefslogtreecommitdiff
path: root/linux/include/media/saa7146.h
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-01-03 22:33:16 +0000
committerMichael Hunold <devnull@localhost>2004-01-03 22:33:16 +0000
commita1b4d25468ad76345f2453e243133e453eed9e5c (patch)
treedc816deb8b0af882cabe4fcc5221fbe039374e32 /linux/include/media/saa7146.h
parentaccdeb933167f75e912619e94f92e766b157ed79 (diff)
downloadmediapointer-dvb-s2-a1b4d25468ad76345f2453e243133e453eed9e5c.tar.gz
mediapointer-dvb-s2-a1b4d25468ad76345f2453e243133e453eed9e5c.tar.bz2
- 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
Diffstat (limited to 'linux/include/media/saa7146.h')
-rw-r--r--linux/include/media/saa7146.h2
1 files changed, 2 insertions, 0 deletions
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 {