|
@@ -556,7 +556,6 @@ static int usb_audio_probe(struct usb_interface *intf,
|
|
|
goto __error;
|
|
|
}
|
|
|
chip = usb_chip[i];
|
|
|
- dev_set_drvdata(&dev->dev, chip);
|
|
|
atomic_inc(&chip->active); /* avoid autopm */
|
|
|
break;
|
|
|
}
|
|
@@ -582,6 +581,7 @@ static int usb_audio_probe(struct usb_interface *intf,
|
|
|
goto __error;
|
|
|
}
|
|
|
}
|
|
|
+ dev_set_drvdata(&dev->dev, chip);
|
|
|
|
|
|
/*
|
|
|
* For devices with more than one control interface, we assume the
|