Skip to content
Commit f4217069 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: saa7146: fix error logic at saa7146_vv_init()



As the first thing this function does is to call
v4l2_device_register(), it should call v4l2_device_unregister()
if an error occurs, the same way as done at saa7146_vv_release().

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 3af86b04
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment