[lvc-project] [PATCH v3] gpu: cdns-mhdp8546: fix call balance of mhdp->clk handling routines
Robert Foss
rfoss at kernel.org
Mon Feb 17 16:14:46 MSK 2025
On Fri, 14 Feb 2025 18:46:32 +0300, Vitalii Mordan wrote:
> If the clock mhdp->clk was not enabled in cdns_mhdp_probe(), it should not
> be disabled in any path.
>
> The return value of clk_prepare_enable() is not checked. If mhdp->clk was
> not enabled, it may be disabled in the error path of cdns_mhdp_probe()
> (e.g., if cdns_mhdp_load_firmware() fails) or in cdns_mhdp_remove() after
> a successful cdns_mhdp_probe() call.
>
> [...]
Applied, thanks!
[1/1] gpu: cdns-mhdp8546: fix call balance of mhdp->clk handling routines
https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f65727be3fa5
Rob
More information about the lvc-project
mailing list