[media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0
[deliverable/linux.git] / drivers / media / usb / em28xx / em28xx-dvb.c
index 881a813836eb68e75708b5962588bba833145bbf..a0a669e81362956878755eea3cbf1a134905a303 100644 (file)
@@ -203,7 +203,7 @@ static int em28xx_start_streaming(struct em28xx_dvb *dvb)
                dvb_alt = dev->dvb_alt_isoc;
        }
 
-       usb_set_interface(dev->udev, 0, dvb_alt);
+       usb_set_interface(dev->udev, dev->ifnum, dvb_alt);
        rc = em28xx_set_mode(dev, EM28XX_DIGITAL_MODE);
        if (rc < 0)
                return rc;
This page took 0.024938 seconds and 5 git commands to generate.