diff options
author | Alexey Khoroshilov | 2018-11-23 22:56:26 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2018-12-03 20:39:43 +0100 |
commit | aa35dc3c71950e3fec3e230c06c27c0fbd0067f8 (patch) | |
tree | 09f55bbd0a3d677213dc559f03a9f6decafc3c2a /tools | |
parent | media: vivid: fix smatch warnings (diff) | |
download | kernel-qcow2-linux-aa35dc3c71950e3fec3e230c06c27c0fbd0067f8.tar.gz kernel-qcow2-linux-aa35dc3c71950e3fec3e230c06c27c0fbd0067f8.tar.xz kernel-qcow2-linux-aa35dc3c71950e3fec3e230c06c27c0fbd0067f8.zip |
media: DaVinci-VPBE: fix error handling in vpbe_initialize()
If vpbe_set_default_output() or vpbe_set_default_mode() fails,
vpbe_initialize() returns error code without releasing resources.
The patch adds error handling for that case.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions