Re: [PATCH 1/2] ASoC: uda1380: make driver more powersave-friendly

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

 



On Sat, Aug 28, 2010 at 12:07:54PM +0300, Vasily Khoruzhick wrote:

> It seems that you misunderstood me, chip defaults are ok for first power up, 
> but resume is not first power up and codec defaults differ from cache, so we 
> want to sync cache with codec regs on resume, but it is not possible to sync 
> mixer regs until i2s clock is not applied, so we just mark them as dirty to 
> sync them later (just before playback, when i2s clock is already applied)

The normal flow for this is to mark things as dirty when you cut the
power rather than in one particular restore path - that is more robust
against code changes which alter the set of situations which can turn
off the power.
_______________________________________________
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