diff options
Diffstat (limited to 'drivers/media/video/video-buf.c')
-rw-r--r-- | drivers/media/video/video-buf.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/video/video-buf.c b/drivers/media/video/video-buf.c index 5afdc7852610..574b8e36f3c6 100644 --- a/drivers/media/video/video-buf.c +++ b/drivers/media/video/video-buf.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: video-buf.c,v 1.18 2005/02/24 13:32:30 kraxel Exp $ | ||
3 | * | 2 | * |
4 | * generic helper functions for video4linux capture buffers, to handle | 3 | * generic helper functions for video4linux capture buffers, to handle |
5 | * memory management and PCI DMA. Right now bttv + saa7134 use it. | 4 | * memory management and PCI DMA. Right now bttv + saa7134 use it. |
@@ -268,10 +267,10 @@ int videobuf_dma_free(struct videobuf_dmabuf *dma) | |||
268 | kfree(dma->pages); | 267 | kfree(dma->pages); |
269 | dma->pages = NULL; | 268 | dma->pages = NULL; |
270 | } | 269 | } |
271 | if (dma->vmalloc) { | 270 | |
272 | vfree(dma->vmalloc); | 271 | vfree(dma->vmalloc); |
273 | dma->vmalloc = NULL; | 272 | dma->vmalloc = NULL; |
274 | } | 273 | |
275 | if (dma->bus_addr) { | 274 | if (dma->bus_addr) { |
276 | dma->bus_addr = 0; | 275 | dma->bus_addr = 0; |
277 | } | 276 | } |