Mageia Bugzilla – Attachment 819 Details for
Bug 2425
init process hangs with loading usb
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
UVC bug fix for built in Asus webcams
uvc_bug.diff (text/plain), 566 bytes, created by
Remco Rijnders
on 2011-09-23 06:57:12 CEST
(
hide
)
Description:
UVC bug fix for built in Asus webcams
Filename:
MIME Type:
Creator:
Remco Rijnders
Created:
2011-09-23 06:57:12 CEST
Size:
566 bytes
patch
obsolete
>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)
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)
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2425
: 819