Re: [PATCH 2/2] ASoC: zx_aud96p22: add ZTE ZX AUD96P22 codec driver

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

 



On Thu, Jun 22, 2017 at 12:03:41AM +0800, Shawn Guo wrote:
> On Tue, Jun 20, 2017 at 01:40:59PM +0100, Mark Brown wrote:

> > Sounds like a fairly standard use for a supply widget.

> Yes, it can be a supply widget.  But it's a bit that controls device
> overall power rather than any particular component power.  Since every
> single operation of the device will need this power bit to be on, I
> think it makes sense to configure the bit in .startup/.shutdown hooks,
> rather than creating a widget for it and attaches the widget to a bunch
> of components.

Do it with DAPM - this means any analogue paths will work and there's no
possibility of refcounting issues.  You will need to create a bunch of
links but that's pretty easy and it's all data rather than code.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux