[PATCH] gspca/sn9c20x: Fix regression on stv06xx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Regresion caused by: 35680ba V4L/DVB: gspca - main: Handle the audio device

Yet another regression caused by 35680ba. Basically, this device has
just one alternate, but the alt selection code denys its selection,
since the device has audio:

gspca: no transfer endpoint found

Tested with an USB ID 046d:08f6 Logitech, Inc. QuickCam Messenger Plus

Cc: stable@xxxxxxxxxx
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.c b/drivers/media/video/gspca/stv06xx/stv06xx.c
index 28ea417..8955aaf 100644
--- a/drivers/media/video/gspca/stv06xx/stv06xx.c
+++ b/drivers/media/video/gspca/stv06xx/stv06xx.c
@@ -267,6 +267,7 @@ static int stv06xx_start(struct gspca_dev *gspca_dev)
 	struct usb_interface *intf;
 	int err, packet_size;
 
+	gspca_dev->no_audio_hack = 1;
 	intf = usb_ifnum_to_if(sd->gspca_dev.dev, sd->gspca_dev.iface);
 	alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt);
 	if (!alt) {
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux