[PATCH v2] drm/imx/dcss: Fix clock leak on blkctl init failure
Laurentiu Palcu
laurentiu.palcu at oss.nxp.com
Tue Nov 17 08:13:57 PST 2026
On Fri, 30 Oct 2026 19:13:03 +0800, laixiangwu wrote:
> dcss_submodules_init() enables the DCSS clocks before initializing the
> submodules, but if the first submodule (blkctl) fails to initialize the
> function returns directly, without disabling the clocks again. All the
> later error paths already jump to err_clocks, which calls
> dcss_clocks_disable().
>
> Since the clocks are only devm-managed for their reference (devm_clk_get),
> a blkctl init failure leaves all five DCSS clocks prepared and enabled.
>
> [...]
Applied, thanks!
[1/1] drm/imx/dcss: Fix clock leak on blkctl init failure
commit: 18e73878de68302508dbddbafeb5aef508640588
Best regards,
--
Laurentiu Palcu <laurentiu.palcu at oss.nxp.com>
More information about the linux-arm-kernel
mailing list