diff options
| author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-07-25 17:45:11 +0200 |
|---|---|---|
| committer | Uwe Kleine-König <ukleinek@kernel.org> | 2025-09-15 11:39:45 +0200 |
| commit | ed5902a2464834656f94f1c23fa61f99ea38f328 (patch) | |
| tree | 839bc5d3fbca782ab493f06d1ecf6373278a955c /tools/docs/lib/parse_data_structs.py | |
| parent | pwm: mediatek: Fix various issues in the .apply() callback (diff) | |
| download | linux-ed5902a2464834656f94f1c23fa61f99ea38f328.tar.gz linux-ed5902a2464834656f94f1c23fa61f99ea38f328.zip | |
pwm: mediatek: Lock and cache clock rate
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@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250725154506.2610172-17-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
