[PATCH v3] drm/bridge: tc358767: Use devm_clk_get_enabled() helper
Robert Foss
rfoss at kernel.org
Mon Jul 10 09:48:01 UTC 2023
On Sat, 8 Jul 2023 08:05:35 +0200, Christophe JAILLET wrote:
> The devm_clk_get_enabled() helper:
> - calls devm_clk_get()
> - calls clk_prepare_enable() and registers what is needed in order to
> call clk_disable_unprepare() when needed, as a managed resource.
>
> This simplifies the code and avoids the need of a dedicated function used
> with devm_add_action_or_reset().
>
> [...]
Applied, thanks!
[1/1] drm/bridge: tc358767: Use devm_clk_get_enabled() helper
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=70d3c92d852f
Rob
More information about the dri-devel
mailing list