Re: [PATCH 4/4] ASoC: tlv320dac33: Support for turning off the codec in BIAS_STANDBY

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

 



On Fri, Apr 30, 2010 at 01:55:25PM +0300, Peter Ujfalusi wrote:

> I need to keep the dac33_pcm_prepare level of configuration for cases, when the 
> codec is in ON and a playback is starting (and if the codec is not ON, than 
> respond it for later, when it is switch on), right?
> I _need_ to do the things, which is done in the dac33_prepare_chip function 
> every time, when a stream is starting :(

Yes, absolutely - and if we add a post-DAPM prepare callback then you
can just do that there without worrying about power in the driver.

> I do agree, that it is not really nice to have playback related thing in the 
> dac33_set_bias_level, but so far I think that is the only way to avoid 
> additional hassle (which means more places to have error, problems).

Like I say, I think the addition of a post-DAPM callback on prepare
ought to do the job just as well.
_______________________________________________
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