[alsa-devel] [PATCH] ASoC: wm8741: Remove unneeded startup() callback

Sergej Sawazki ce3a at gmx.de
Tue Jan 31 21:38:16 CET 2017


On Tue, 31 Jan 2017 09:49:31 +0000, Charles Keepax wrote:
> On Mon, Jan 30, 2017 at 11:56:52PM +0100, Sergej Sawazki wrote:

>> After clearing the sysclk, the codec should 'pretend' to support all
>> rates, right? (no sysclk -> no rate constrains)

> Indeed yes, so a normal pattern would often be setting a sysclk
> rate in set_bias_level(on the way up)/hw_params and clearing it in
> set_bias_level(on the way down). That way whilst the device is
> powered up it is fixed at a certain rate so as not to disrupt any
> running audio but whilst powered down you are free to start it up
> at any rate.

Thanks Charles, it is clear now, sorry for the noise.

Sergej



More information about the Alsa-devel mailing list