From: Hans de Goede Date: Sun, 5 Jun 2011 06:44:43 +0000 (-0300) Subject: [media] gspca: reset image_len to 0 on LAST_PACKET when discarding frame X-Git-Tag: v3.1-rc1~116^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa4376d28e19b0835f948c5b42f13738f68bd9a1;p=pandora-kernel.git [media] gspca: reset image_len to 0 on LAST_PACKET when discarding frame Reset image and image_len to NULL/0 on LAST_PACKET when we're in discard frame mode, just like we do when not discarding the current frame. The new se401 driver uses image_len for SOF/EOF detection and thus depends on this. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed