mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
asoc: wsa881x-analog: remove warnings result in CPU log
Avoid warnings causing RT throttling during SSR. Change-Id: I814da52c9777f42faa3f2b5dc793fc177a85c635 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
parent
d155d7f509
commit
33bd3daaa6
1 changed files with 0 additions and 2 deletions
|
|
@ -550,7 +550,6 @@ static void wsa881x_bandgap_ctrl(struct snd_soc_component *component,
|
|||
} else {
|
||||
--wsa881x->bg_cnt;
|
||||
if (wsa881x->bg_cnt <= 0) {
|
||||
WARN_ON(wsa881x->bg_cnt < 0);
|
||||
wsa881x->bg_cnt = 0;
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_TEMP_OP, 0x04, 0x00);
|
||||
|
|
@ -588,7 +587,6 @@ static void wsa881x_clk_ctrl(struct snd_soc_component *component, bool enable)
|
|||
} else {
|
||||
--wsa881x->clk_cnt;
|
||||
if (wsa881x->clk_cnt <= 0) {
|
||||
WARN_ON(wsa881x->clk_cnt < 0);
|
||||
wsa881x->clk_cnt = 0;
|
||||
snd_soc_component_write(component,
|
||||
WSA881X_CDC_ANA_CLK_CTL, 0x00);
|
||||
|
|
|
|||
Loading…
Reference in a new issue