diff options
| author | Kuninori Morimoto <[email protected]> | 2025-01-09 00:40:05 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-01-09 13:17:02 +0000 |
| commit | 139fa599cea0fd9d38e00246ea9f79af6c59acbd (patch) | |
| tree | 5e7299ee4b9de8a6cbfb71b2b9acba206e841e00 /net/unix/sysctl_net_unix.c | |
| parent | ASoC: cs42l43: Add codec force suspend/resume ops (diff) | |
| download | kernel-139fa599cea0fd9d38e00246ea9f79af6c59acbd.tar.gz kernel-139fa599cea0fd9d38e00246ea9f79af6c59acbd.zip | |
ASoC: rsnd: check rsnd_adg_clk_enable() return value
rsnd_adg_clk_enable() might be failed for some reasons, but it doesn't
check return value for now. In such case, we might get below WARNING from
clk_disable() during probe or suspend. Check rsnd_adg_clk_enable() return
value.
clk_multiplier already disabled
...
Call trace:
clk_core_disable+0xd0/0xd8 (P)
clk_disable+0x2c/0x44
rsnd_adg_clk_control+0x80/0xf4
According to Geert, it happened only 7 times during the last 2 years.
So I have reproduced the issue and created patch by Intentionally making
an error.
Link: https://lore.kernel.org/r/CAMuHMdVUKpO2rsia+36BLFFwdMapE8LrYS0duyd0FmrxDvwEfg@mail.gmail.com
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
