diff options
| author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-11-23 16:56:26 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 10:13:07 +0100 |
| commit | da327232f52b60ab960ffea3089bb46915b9e536 (patch) | |
| tree | d8e628d3131cbee6e0d58b2f27429868ca66ee37 /scripts/decode_stacktrace.sh | |
| parent | 028f17e00e1aae50465b058f4f985fd17e134887 (diff) | |
media: DaVinci-VPBE: fix error handling in vpbe_initialize()
[ Upstream commit aa35dc3c71950e3fec3e230c06c27c0fbd0067f8 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
