[media] em28xx: unregister devices in case of failure
If something bad happens during device registration, unregister
the already registered devices.
Without that, it will have lots of KASAN errors when udev
would try to open the devices.
Signed-off-by:
Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Loading
Please register or sign in to comment