diff options
author | Evgeny Novikov <novikov@ispras.ru> | 2020-07-10 12:02:23 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 14:38:08 +0300 |
commit | 9c487b0b0ea7ff22127fe99a7f67657d8730ff94 (patch) | |
tree | f0be50cab3ea12abf2326ecafba905516d4492bc /include/media/tpg | |
parent | d70cca7323442026e20c474314518c446cb4766f (diff) | |
download | linux-9c487b0b0ea7ff22127fe99a7f67657d8730ff94.tar.xz |
media: vpss: clean up resources in init
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>
Diffstat (limited to 'include/media/tpg')
0 files changed, 0 insertions, 0 deletions