mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 01:04:08 +08:00
V4L/DVB (12202): em28xx, fix lock imbalance
There is one omitted unlock in em28xx_usb_probe. Fix that. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
791a08fc01
commit
11b79ea75a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user