All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch: V4L stable versions 4.5.3 and 4.5.4
@ 2016-05-11 18:47 David R
  2016-05-11 19:05 ` David R
  0 siblings, 1 reply; 4+ messages in thread
From: David R @ 2016-05-11 18:47 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Linux Kernel Mailing List, gregkh

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

Hi

Please consider applying the attached patch (or something like it) to
V4L2, and whatever is appropriate to the mainstream kernel. Without this
my media server crashes and burns at boot.

See https://lkml.org/lkml/2016/5/7/88 for more details

Thanks
David

[-- Attachment #2: v4l2.diff --]
[-- Type: text/x-patch, Size: 533 bytes --]

--- drivers/media/v4l2-core/videobuf2-core.c.old	2016-05-11 18:44:50.917083559 +0100
+++ drivers/media/v4l2-core/videobuf2-core.c	2016-05-11 18:45:10.136184837 +0100
@@ -1665,7 +1665,7 @@ static int __vb2_get_done_vb(struct vb2_
 	 * Only remove the buffer from done_list if v4l2_buffer can handle all
 	 * the planes.
 	 */
-	ret = call_bufop(q, verify_planes_array, *vb, pb);
+	ret = pb ? call_bufop(q, verify_planes_array, *vb, pb) : 0;
 	if (!ret)
 		list_del(&(*vb)->done_entry);
 	spin_unlock_irqrestore(&q->done_lock, flags);

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-11 21:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 18:47 Patch: V4L stable versions 4.5.3 and 4.5.4 David R
2016-05-11 19:05 ` David R
2016-05-11 20:38   ` Mauro Carvalho Chehab
2016-05-11 21:07     ` Sakari Ailus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.