projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ASoC: codecs: lpass: fix the order or clks turn off during suspend
[platform/kernel/linux-starfive.git]
/
sound
/
soc
/
codecs
/
lpass-tx-macro.c
diff --git
a/sound/soc/codecs/lpass-tx-macro.c
b/sound/soc/codecs/lpass-tx-macro.c
index
473d3cd
..
589c490
100644
(file)
--- a/
sound/soc/codecs/lpass-tx-macro.c
+++ b/
sound/soc/codecs/lpass-tx-macro.c
@@
-2098,9
+2098,9
@@
static int __maybe_unused tx_macro_runtime_suspend(struct device *dev)
regcache_cache_only(tx->regmap, true);
regcache_mark_dirty(tx->regmap);
regcache_cache_only(tx->regmap, true);
regcache_mark_dirty(tx->regmap);
- clk_disable_unprepare(tx->mclk);
- clk_disable_unprepare(tx->npl);
clk_disable_unprepare(tx->fsgen);
clk_disable_unprepare(tx->fsgen);
+ clk_disable_unprepare(tx->npl);
+ clk_disable_unprepare(tx->mclk);
return 0;
}
return 0;
}