Hi Alexey, On Friday 23 September 2011 07:51:24 Alexey Fisher wrote: > This patch fix small regression cousing crashe after device was > detected. In case of buildin webcam it prevented laptop to boot. > > This regression was introduced by patch a96aa5342: > uvcvideo: Ignore entities for terminals with no supported format
Thanks for the patch. I've already fixed the bug in my stable branch (http://git.linuxtv.org/pinchartl/uvcvideo.git/shortlog/refs/heads/uvcvideo- stable) and Mauro said he would pull that for v3.1. > Bug-reported-by: Remco Rijnders <re...@webconquest.com> > Signed-off-by: Alexey Fisher <bug-tr...@fisher-privat.net> > --- > drivers/media/video/uvc/uvc_entity.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > 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) -- Regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel