aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/test-drivers/vimc/vimc-core.c
diff options
context:
space:
mode:
authorEvgeny Novikov <[email protected]>2020-07-10 09:02:23 +0000
committerMauro Carvalho Chehab <[email protected]>2020-07-19 11:38:08 +0000
commit9c487b0b0ea7ff22127fe99a7f67657d8730ff94 (patch)
treef0be50cab3ea12abf2326ecafba905516d4492bc /drivers/media/test-drivers/vimc/vimc-core.c
parenthantro: h264: Refuse to decode unsupported bitstream (diff)
downloadkernel-9c487b0b0ea7ff22127fe99a7f67657d8730ff94.tar.gz
kernel-9c487b0b0ea7ff22127fe99a7f67657d8730ff94.zip
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-core.c')
0 files changed, 0 insertions, 0 deletions