lkml.org 
[lkml]   [2010]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: macbook webcam no longer works on .35-rc
From
Date
On Mon, 2010-07-05 at 10:23 +0200, Laurent Pinchart wrote:

> Could you please test the following patch when you will have time ?

That fixes it, thank you.

johannes

> diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c
> index 9af4d47..a350fad 100644
> --- a/drivers/media/video/uvc/uvc_ctrl.c
> +++ b/drivers/media/video/uvc/uvc_ctrl.c
> @@ -122,8 +122,8 @@ static struct uvc_control_info uvc_ctrls[] = {
> .selector = UVC_PU_POWER_LINE_FREQUENCY_CONTROL,
> .index = 10,
> .size = 1,
> - .flags = UVC_CONTROL_SET_CUR | UVC_CONTROL_GET_RANGE
> - | UVC_CONTROL_RESTORE,
> + .flags = UVC_CONTROL_SET_CUR | UVC_CONTROL_GET_CUR
> + | UVC_CONTROL_GET_DEF | UVC_CONTROL_RESTORE,
> },
> {
> .entity = UVC_GUID_UVC_PROCESSING,
>
>




\
 
 \ /
  Last update: 2010-07-12 14:39    [W:0.045 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site