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.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel