diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-06-09 14:38:33 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-10 02:33:50 +0300 |
| commit | 2330e0b49f14122f613e4b2a554f756006bb6206 (patch) | |
| tree | 51a023e503f024ef33d05ae36d7c8362f9a14703 /include/linux/timerqueue.h | |
| parent | 5fb4660ce59b1093face3c3080123400ac10ddd3 (diff) | |
| download | linux-2330e0b49f14122f613e4b2a554f756006bb6206.tar.xz | |
ASoC: renesas: fsi: refactor clock initialization
Move fsi_clk_init() from set_fmt() to the probe path.
This ensures that clock resources are acquired only once during device
initialization, instead of being looked up repeatedly whenever set_fmt()
is called.
Together with the previous conversion to devm_clk_get_optional(), the
driver can now probe successfully even when optional clocks are absent.
The set_rate() callbacks continue to validate that all required clocks
are available before applying hardware-specific configuration.
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260609113836.45079-9-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
