aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-vbi.c
diff options
context:
space:
mode:
authorMichael Schimek <mschimek@gmx.at>2007-01-26 08:30:05 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 13:35:08 -0200
commitfeaba7a96dd02f2fc0d1fe5c2148d79444db0717 (patch)
tree73486db266e32e01ef4b9127a9549fd1237bc9b7 /drivers/media/video/bt8xx/bttv-vbi.c
parent712642b8e371687e24ec8e1d34114beab18e92ca (diff)
downloadkernel_samsung_smdk4412-feaba7a96dd02f2fc0d1fe5c2148d79444db0717.zip
kernel_samsung_smdk4412-feaba7a96dd02f2fc0d1fe5c2148d79444db0717.tar.gz
kernel_samsung_smdk4412-feaba7a96dd02f2fc0d1fe5c2148d79444db0717.tar.bz2
V4L/DVB (5156): Fix: dma free is being called with wrong arguments
Functions buffer_release() in bttv-driver.c and vbi_buffer_release() in bttv-vbi.c are ending with: bttv_dma_free(&fh->cap,fh->btv,buf); For vbi it seems to be wrong. Both functions should end with: bttv_dma_free(q,fh->btv,buf); Thanks to Peter Schlaf <peter.schlaf@web.de> for pointing this. Signed-off-by: Michael H. Schimek <mschimek@gmx.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-vbi.c')
-rw-r--r--drivers/media/video/bt8xx/bttv-vbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-vbi.c b/drivers/media/video/bt8xx/bttv-vbi.c
index 754f66b..93e35de 100644
--- a/drivers/media/video/bt8xx/bttv-vbi.c
+++ b/drivers/media/video/bt8xx/bttv-vbi.c
@@ -224,7 +224,7 @@ static void vbi_buffer_release(struct videobuf_queue *q, struct videobuf_buffer
struct bttv_buffer *buf = container_of(vb,struct bttv_buffer,vb);
dprintk("free %p\n",vb);
- bttv_dma_free(&fh->cap,fh->btv,buf);
+ bttv_dma_free(q,fh->btv,buf);
}
struct videobuf_queue_ops bttv_vbi_qops = {