Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: ov6650: Fix control handler not freed on init error
BugLink: https://bugs.launchpad.net/bugs/1860490 [ Upstream commit c404af9 ] Since commit afd9690 ("[media] ov6650: convert to the control framework"), if an error occurs during initialization of a control handler, resources possibly allocated to the handler are not freed before device initialiaton is aborted. Fix it. Fixes: afd9690 ("[media] ov6650: convert to the control framework") Signed-off-by: Janusz Krzysztofik <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Kamal Mostafa <[email protected]> Signed-off-by: Khalid Elmously <[email protected]>
- Loading branch information