diff options
author | Evgeny Novikov <[email protected]> | 2020-07-10 11:02:23 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 13:38:08 +0200 |
commit | 9c487b0b0ea7ff22127fe99a7f67657d8730ff94 (patch) | |
tree | f0be50cab3ea12abf2326ecafba905516d4492bc /drivers/media/test-drivers/vimc/vimc-sensor.c | |
parent | d70cca7323442026e20c474314518c446cb4766f (diff) |
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions