[alsa-devel] [PATCH v2 05/11] ASoC: Add a set_bias_level() callback to the DAPM context struct

Vinod Koul vinod.koul at intel.com
Sun Jun 22 07:26:00 CEST 2014


On Sat, Jun 21, 2014 at 09:14:37PM +0100, Mark Brown wrote:
> On Mon, Jun 16, 2014 at 06:13:05PM +0200, Lars-Peter Clausen wrote:
> 
> > CODEC specific set_bias_level callback(). Not looking directly at the CODEC
> > driver struct will allow non CODEC DAPM contexts to implement a set_bias_level()
> > callback.
> 
> It will indeed, but do we want them to?  set_bias_level() is partly
> legacy and partly there for the benefit of analogue devices which can
> have more complex needs than digital ones which can mostly just use
> runtime PM.  On the other hand there's a consistency thing going on
> here, but that applies both within ASoC and throughout the kernel.
I think it would help :)

Even on DSPs loading firmware and power sequencing the DSP can get some help
using these functions

I think I might find some use of this for my work!

-- 
~Vinod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140622/73aae6fb/attachment.sig>


More information about the Alsa-devel mailing list