|
@@ -199,6 +199,7 @@ static int em28xx_start_streaming(struct em28xx_dvb *dvb)
|
|
|
int rc;
|
|
|
struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv;
|
|
|
struct em28xx *dev = i2c_bus->dev;
|
|
|
+ struct usb_device *udev = interface_to_usbdev(dev->intf);
|
|
|
int dvb_max_packet_size, packet_multiplier, dvb_alt;
|
|
|
|
|
|
if (dev->dvb_xfer_bulk) {
|
|
@@ -217,6 +218,7 @@ static int em28xx_start_streaming(struct em28xx_dvb *dvb)
|
|
|
dvb_alt = dev->dvb_alt_isoc;
|
|
|
}
|
|
|
|
|
|
+ usb_set_interface(udev, dev->ifnum, dvb_alt);
|
|
|
rc = em28xx_set_mode(dev, EM28XX_DIGITAL_MODE);
|
|
|
if (rc < 0)
|
|
|
return rc;
|