diff options
| author | Li Jian <lazycat-xiao@foxmail.com> | 2026-04-17 18:53:14 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-27 08:30:22 +0900 |
| commit | 8ed3311131077712cdd0b3afec6909b9388ad3e4 (patch) | |
| tree | e23d729c6aaf2dd8369dc9ebdc72388798f29ae6 /include/linux/debugobjects.h | |
| parent | 74c876bfd71b1023029a483d7213015201f62b53 (diff) | |
ASoC: ES8389: convert to devm_clk_get_optional() to get clock
When enabling ES8390 via ACPI description, es8389 would fail to
obtain a clock source, causing the driver to fail to initialize.
This was not an issue with older kernels, but since commit
abae8e57e49a ("clk: generalize devm_clk_get() a bit"),
devm_clk_get() would return an error pointer when a clock source
was not detected (instead of falling back to a static clock),
causing the driver to fail early.
Use devm_clk_get_optional() instead to return to the previous
behaviour, allowing the use of a static clock source.
Cc: stable@vger.kernel.org
Signed-off-by: Li Jian <lazycat-xiao@foxmail.com>
Link: https://patch.msgid.link/tencent_7C78374FB9F4B3A37101E5C719715D8BC40A@qq.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
