On Thu, Sep 22, 2011 at 05:04:12PM +0200, Alexey wrote in <4e7b4e6c.9050...@fisher-privat.net>:
Can you please try this patch?

Regards,
Alexey

diff --git a/drivers/media/video/uvc/uvc_entity.c 
b/drivers/media/video/uvc/uvc_entity.c
index 48fea37..29e2399 100644
--- a/drivers/media/video/uvc/uvc_entity.c
+++ b/drivers/media/video/uvc/uvc_entity.c
@@ -49,7 +49,7 @@ static int uvc_mc_register_entity(struct uvc_video_chain 
*chain,
                if (remote == NULL)
                        return -EINVAL;

-               source = (UVC_ENTITY_TYPE(remote) != UVC_TT_STREAMING)
+               source = (UVC_ENTITY_TYPE(remote) == UVC_TT_STREAMING)
                       ? (remote->vdev ? &remote->vdev->entity : NULL)
                       : &remote->subdev.entity;
                if (source == NULL)

Hi Alexey,

With this patch the kernel panic has disappeared completely and the built in webcam works! Most excellent! Thank you!

Remco

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to