We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e088b commit e70d90cCopy full SHA for e70d90c
drivers/media/usb/au0828/au0828-video.c
@@ -764,6 +764,9 @@ static int au0828_analog_stream_enable(struct au0828_dev *d)
764
765
dprintk(1, "au0828_analog_stream_enable called\n");
766
767
+ if (test_bit(DEV_DISCONNECTED, &d->dev_state))
768
+ return -ENODEV;
769
+
770
iface = usb_ifnum_to_if(d->usbdev, 0);
771
if (iface && iface->cur_altsetting->desc.bAlternateSetting != 5) {
772
dprintk(1, "Changing intf#0 to alt 5\n");
0 commit comments