diff options
author | Mauro Carvalho Chehab <[email protected]> | 2016-01-29 13:08:19 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2016-02-01 07:26:50 -0200 |
commit | 56a7f51554b22729cee87042ea697a0d59b13d6b (patch) | |
tree | 96bfae1b7a1d49ec443725b7df6c00ea35be0489 /net/switchdev/switchdev.c | |
parent | af7d374a4cf715d7b7f535bcc30d814faf6a5cf6 (diff) |
[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 <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions