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!