V4L/DVB (5156): Fix: dma free is being called with wrong arguments
authorMichael Schimek <mschimek@gmx.at>
Fri, 26 Jan 2007 11:30:05 +0000 (08:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:08 +0000 (13:35 -0200)
commitfeaba7a96dd02f2fc0d1fe5c2148d79444db0717
tree73486db266e32e01ef4b9127a9549fd1237bc9b7
parent712642b8e371687e24ec8e1d34114beab18e92ca
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>
drivers/media/video/bt8xx/bttv-driver.c
drivers/media/video/bt8xx/bttv-vbi.c