diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-14 14:52:28 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-14 15:09:14 +0100 |
commit | f4217069cd11635bf397ca1b6488ceb8c7bc66ab (patch) | |
tree | 08fb0cb41fb71b1addbf70a5b00a1eadeaaa7692 /drivers/watchdog | |
parent | 3af86b046933ba513d08399dba0d4d8b50d607d0 (diff) | |
download | linux-next-f4217069cd11635bf397ca1b6488ceb8c7bc66ab.tar.gz |
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: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions