summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-09-11 13:55:37 -0400
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-09-23 14:54:49 +0200
commit9887716132d6c3c58cc67841dfb441c5a4a0d209 (patch)
treedfac2805a4fa637ea9940f298ab4b0e53b9cd48e /tools/perf/scripts/python/bin
parent359db09cf055497075a668b192f4578a0ed00955 (diff)
media: marvell: manage the MMP camera clock provider
mmpcam_probe() registers an OF clock provider before requesting the IRQ. Neither a later probe failure nor driver removal unregisters that provider, although the underlying clock is registered with devm_clk_register(). This leaves the provider referring to a clock whose lifetime has ended. Use devm_of_clk_add_hw_provider() with the existing mclk_hw so the provider is unregistered before the managed clock and camera storage are released. This issue was identified during our ongoing static-analysis research while reviewing kernel code. Fixes: 81a409bfd551 ("media: marvell-ccic: provide a clock for the sensor") Cc: stable@vger.kernel.org Assisted-by: OpenAI:GPT-5.6 Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions