diff options
| author | Evgeny Novikov <novikov@ispras.ru> | 2020-07-10 11:02:23 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-26 10:27:08 +0200 |
| commit | 49abd862875fef2eba26a53aed0f617c550948bf (patch) | |
| tree | 9819159387ae532b068a170606b55de5cef673ef /scripts/build-all.py | |
| parent | 407f42f84082d86b2971bd8272105c64fe8ba152 (diff) | |
media: vpss: clean up resources in init
[ Upstream commit 9c487b0b0ea7ff22127fe99a7f67657d8730ff94 ]
If platform_driver_register() fails within vpss_init() resources are not
cleaned up. The patch fixes this issue by introducing the corresponding
error handling.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions
