[PATCH v2 7/8] pwm: mediatek: Lock and cache clock rate
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Aug 4 01:49:32 PDT 2025
Il 25/07/25 17:45, Uwe Kleine-König ha scritto:
> This simplifies error handling and reduces the amount of clk_get_rate()
> calls.
>
> While touching the clk handling also allocate the clock array as part of
> driver data and lock the clock rate to ensure that the output doesn't
> change unexpectedly.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list