diff options
author | Michael Hunold <devnull@localhost> | 2004-01-03 22:33:16 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-01-03 22:33:16 +0000 |
commit | a1b4d25468ad76345f2453e243133e453eed9e5c (patch) | |
tree | dc816deb8b0af882cabe4fcc5221fbe039374e32 /linux/include/media/saa7146.h | |
parent | accdeb933167f75e912619e94f92e766b157ed79 (diff) | |
download | mediapointer-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.h | 2 |
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 { |