Commit d2083fe
committed
audio: check mute before audio init
Booting with mute active often results in the I2C bus being completely
defunct, causing log spam of I2C errors.
The mute check was previously moved after audio init in commit
20780c4 ("audio: initialize amp before mute check") so that WAS
locate would work even if the device is waiting to be unmuted.
Unfortunately it seems prohibitively difficult to make that work
reliably, so to not spend any more time debugging that, the move check
is moved back before audio init.
This is not ideal, but I've spent way too much time on debugging this
issue already, and I rather avoid the log spam. The mute check was moved
after audio init to solve #319, but Willow connects to WAS before the
mute check, and commands sent from WAS actually execute, there just
won't be any audio output. In case of WAS locate, the display would
still light up.
Fixes: #4151 parent 41d3703 commit d2083fe
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1009 | 1009 | | |
1010 | 1010 | | |
1011 | 1011 | | |
| 1012 | + | |
| 1013 | + | |
1012 | 1014 | | |
1013 | 1015 | | |
1014 | 1016 | | |
1015 | 1017 | | |
1016 | 1018 | | |
1017 | 1019 | | |
1018 | 1020 | | |
1019 | | - | |
1020 | | - | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
| |||
0 commit comments