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

Vasily Khoruzhick anarsoul at gmail.com
Sat Aug 28 11:17:39 CEST 2010


В сообщении от 28 августа 2010 12:14:46 автор Mark Brown написал:
> 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.

Ok, sounds reasonable.

Regards
Vasily
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20100828/6ce8f5ee/attachment.sig 


More information about the Alsa-devel mailing list