]> git.hungrycats.org Git - linux/commit
ASoC: renesas: fsi: Use devm_clk_get_optional() for optional clocks
authorbui duc phuc <phucduc.bui@gmail.com>
Tue, 9 Jun 2026 11:38:32 +0000 (18:38 +0700)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jun 2026 23:33:49 +0000 (00:33 +0100)
commit5fb4660ce59b1093face3c3080123400ac10ddd3
tree844f32a19472cdcdbe67dad4f9a696577cc66ad1
parentcfa1466e6dfd185aed8d13b9a192657be51d87ec
ASoC: renesas: fsi: Use devm_clk_get_optional() for optional clocks

The xck, ick, and div clocks are optional. Switch from devm_clk_get()
to devm_clk_get_optional() to correctly handle cases where these clocks
are missing.

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-8-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/fsi.c