lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1278938186.5870.18.camel@jlt3.sipsolutions.net>
Date:	Mon, 12 Jul 2010 14:36:26 +0200
From:	Johannes Berg <johannes@...solutions.net>
To:	Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc:	linux-media@...r.kernel.org, "Rafael J. Wysocki" <rjw@...k.pl>,
	LKML <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: macbook webcam no longer works on .35-rc

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,
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ