[alsa-devel] [PATCH] ALSA: ASoC: cs4720: use snd_soc_cache_sync()

Daniel Mack zonque at gmail.com
Tue Nov 22 16:41:42 CET 2011


On 11/22/2011 04:37 PM, Timur Tabi wrote:
> Mark Brown wrote:
>> That's very odd, not ringing any bells at all.  It's not like the 
>> existing code is trying to do anything clever with skipping writes,
>> it just blasts in all the register values and it's affecting two
>> different registers.
> 
> Is there a quick-and-dirty way to test suspend/resume?  It's not
> officially supported on our board with a CS4270, so I never tried it,
> and I'm not familiar with it.
> 

echo mem > /sys/power/state

But in our case, the codec is powered off completely, so you might have
a very different power regulator setup on your board. And that might
cause the bug not to show up, as it retains its register values over
suspend.


Daniel


More information about the Alsa-devel mailing list