diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-10-02 11:38:53 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-13 17:08:07 +0100 |
| commit | be952abd69c1f2c845e42e72147751e4c910cd81 (patch) | |
| tree | 42f923b8fdbc3e95f407e87c6dd99d1d1b7786ad /scripts/Makefile.thinlto | |
| parent | 2e2da92de9bffd2cdbb9a2558fe60de7f1bb09e3 (diff) | |
| download | linux-be952abd69c1f2c845e42e72147751e4c910cd81.tar.gz linux-be952abd69c1f2c845e42e72147751e4c910cd81.zip | |
ASoC: atmel-i2s: use optional API for muxclk
The muxclk is an optional clock according to the device tree
binding.
Use devm_clk_get_optional() to handle the optional muxclk instead of
handling the missing clock explicitly.
When muxclk is not available, devm_clk_get_optional() returns NULL.
clk_set_parent() returns 0 when passed NULL, preserving the existing
behavior.
Unlike the existing code, errors other than -EPROBE_DEFER are now
returned instead of being silently ignored.
Fixes: b543e467d1a9 ("ASoC: atmel-i2s: add driver for the new Atmel I2S controller")
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20261002043856.97295-3-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
