diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-09-27 13:59:10 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-10-16 09:32:36 +0200 |
commit | d56786977ba11ed15b066495c1363889bcb1c3bb (patch) | |
tree | 77d2aa25ce98f8ede6c32796c1d3dd7c311f51c6 /drivers/media/i2c/imx290.c | |
parent | 0d88a37edf54eede777befd0dc5cdd835d0b2b27 (diff) |
media: i2c: max96717: clean up on error in max96717_subdev_init()
Call v4l2_ctrl_handler_free() to clean up from v4l2_ctrl_handler_init().
Fixes: 19b5e5511ca4 ("media: i2c: max96717: add test pattern ctrl")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Julien Massot <julien.massot@collabora.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/imx290.c')
0 files changed, 0 insertions, 0 deletions