From: Ming Lei Date: Sat, 16 Jul 2011 03:51:00 +0000 (-0300) Subject: [media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset X-Git-Tag: v3.2-rc1~112^2~330 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d59a7b1dbce8b972ec2dc9fcaaae0bfa23687423;p=pandora-kernel.git [media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset If the bus has been reset on resume, set the alternate setting to 0. This should be the default value, but some devices crash or otherwise misbehave if they don't receive a SET_INTERFACE request before any other video control request. Microdia's 0c45:6437 camera has been found to require this change or it will stop sending video data after resume. uvc_video.c] Signed-off-by: Ming Lei Signed-off-by: Laurent Pinchart Cc: stable@kernel.org Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed