Re: [PATCH] ASoC: max98357a: add speaker switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux