Message ID | Pine.LNX.4.64.0902190924050.5156@axis700.grange (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff -u a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c @@ -326,6 +326,7 @@ spin_lock_irqsave(&pcdev->lock, flags); vb = pcdev->active; + WARN_ON(vb->state == VIDEOBUF_NEEDS_INIT); list_del_init(&vb->queue); if (!list_empty(&pcdev->capture))