diff options
author | Maarten Zanders <maarten.zanders@mind.be> | 2022-10-28 18:26:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-25 22:31:52 +0300 |
commit | 27b6fa6145215c5f49d93e322a16144b928ecd3e (patch) | |
tree | 823efc3fb1c444b598b88b8b06a600181429b2e3 /drivers/net/wwan/iosm/iosm_ipc_devlink.c | |
parent | 094226ad94f471a9f19e8f8e7140a09c2625abaa (diff) | |
download | linux-27b6fa6145215c5f49d93e322a16144b928ecd3e.tar.xz |
ASoC: adau1372: fix mclk
"mclk" is retrieved from the configuration and assigned to adau1372->clk.
However adau1372->mclk (==NULL) is used for clk_prepare_enable() and
clk_disable_unprepare() which don't have any effect.
Remove .clk from struct adau1372 and use .mclk throughout.
This change ensures that the input clock is switched on/off when the
bias level is changed.
Signed-off-by: Maarten Zanders <maarten.zanders@mind.be>
Link: https://lore.kernel.org/r/20221028152626.109603-2-maarten.zanders@mind.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_devlink.c')
0 files changed, 0 insertions, 0 deletions