diff mbox

bug in changeset 13239:54535665f94b ?

Message ID 20091107104113.0df4593b@pedra.chehab.org (mailing list archive)
State Superseded
Headers show

Commit Message

Mauro Carvalho Chehab Nov. 7, 2009, 12:41 p.m. UTC
None
diff mbox

Patch

diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c
--- a/linux/drivers/media/common/saa7146_video.c
+++ b/linux/drivers/media/common/saa7146_video.c
@@ -1334,9 +1334,9 @@  static void buffer_release(struct videob
 
 	DEB_CAP(("vbuf:%p\n",vb));
 
+	saa7146_dma_free(dev,q,buf);
+
 	release_all_pagetables(dev, buf);
-
-	saa7146_dma_free(dev,q,buf);
 }
 
 static struct videobuf_queue_ops video_qops = {