Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11b79ea7 authored by Jiri Slaby's avatar Jiri Slaby Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (12202): em28xx, fix lock imbalance



There is one omitted unlock in em28xx_usb_probe. Fix that.

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 791a08fc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2652,6 +2652,7 @@ static int em28xx_usb_probe(struct usb_interface *interface,
	retval = em28xx_init_dev(&dev, udev, interface, nr);
	if (retval) {
		em28xx_devused &= ~(1<<dev->devno);
		mutex_unlock(&dev->lock);
		kfree(dev);
		goto err;
	}