|
@@ -1072,7 +1072,7 @@ static int airspy_probe(struct usb_interface *intf,
|
|
if (ret) {
|
|
if (ret) {
|
|
dev_err(s->dev, "Failed to register as video device (%d)\n",
|
|
dev_err(s->dev, "Failed to register as video device (%d)\n",
|
|
ret);
|
|
ret);
|
|
- goto err_unregister_v4l2_dev;
|
|
|
|
|
|
+ goto err_free_controls;
|
|
}
|
|
}
|
|
dev_info(s->dev, "Registered as %s\n",
|
|
dev_info(s->dev, "Registered as %s\n",
|
|
video_device_node_name(&s->vdev));
|
|
video_device_node_name(&s->vdev));
|