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: sta...@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>

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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to