diff options
| author | 2026-09-06 08:10:30 +0100 | |
|---|---|---|
| committer | 2026-10-01 11:04:44 +0200 | |
| commit | 5f09aaf3fbc0d592df65c1aaa2ad113e56940070 (patch) | |
| tree | 2ef7dd0883998cec83401bf48aeb388ac093e208 /scripts/Makefile.thinlto | |
| parent | media: arm: mali-c55: Use devm_of_reserved_mem_device_init() (diff) | |
media: mali-c55: Free the ISP control handler on unregister
mali_c55_isp_init_controls() initialises isp->handler and adds the
capabilities control, but mali_c55_unregister_isp() never frees it.
Neither v4l2_device_unregister_subdev() nor v4l2_subdev_cleanup()
touches sd->ctrl_handler, so the handler and its control are leaked on
every unbind or module removal. The probe error path already frees it,
and the TPG subdevice does so in its own unregister function.
Fixes: d5f281f3dd29 ("media: mali-c55: Add Mali-C55 ISP driver")
Cc: stable@vger.kernel.org
Signed-off-by: David Carlier <devnexen@gmail.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
