]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: stm32: sai: Use the devm_clk_get_optional() helper
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 5 Jan 2026 14:27:27 +0000 (09:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:10:10 +0000 (13:10 +0100)
commita93887d284a683833688289ff55b7e2d51ea282f
tree52d9861d870e8d07124f8c0f8804c17ebb3a1561
parent39e5b2de02075d7eb1e78b154097db0a2e540cbe
ASoC: stm32: sai: Use the devm_clk_get_optional() helper

[ Upstream commit 374628fb668e50b42fe81f2a63af616182415bcd ]

Use devm_clk_get_optional() instead of hand writing it.
This saves some LoC and improves the semantic.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/f7987f18dadf77bfa09969fd4c82d5a0f4e4e3b7.1684594838.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: 312ec2f0d9d1 ("ASoC: stm32: sai: fix clk prepare imbalance on probe failure")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/stm/stm32_sai_sub.c