mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 10:00:53 +07: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