
11 Feb
2020
11 Feb
'20
1:29 p.m.
On Tue, Feb 11, 2020 at 06:32:20PM +0800, Tzung-Bi Shih wrote:
Did you mean (in machine driver):
- Add SND_SOC_DAPM_SPK("Speakers", NULL)
- Add SOC_DAPM_PIN_SWITCH("Speakers")
- Add DAPM route "Speaker" (from max98357a) to "Speakers"
User space program controls "Speakers Switch" to toggle the switch?
Yes.
We found the method cannot avoid max98357a->sdmode being set. As a result, max98357a consumes power even if we don't switch on it.
That seems like something that you can address by improving integration with DAPM.