From: Jean-Francois Moine Date: Thu, 19 Mar 2009 09:05:06 +0000 (-0300) Subject: V4L/DVB (11104): gspca - ov534: Bad frame pointer after adding the last packet X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3481c19854cdb1de1842c6ea6d558006ac0b3b7d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git V4L/DVB (11104): gspca - ov534: Bad frame pointer after adding the last packet Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c index 054bdf02c386..ea2245626d53 100644 --- a/drivers/media/video/gspca/ov534.c +++ b/drivers/media/video/gspca/ov534.c @@ -487,8 +487,9 @@ scan_next: goto discard; } - gspca_frame_add(gspca_dev, LAST_PACKET, frame, NULL, 0); - } + frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, + NULL, 0); + } /* Done this payload */ goto scan_next;