22 Nov
2011
22 Nov
'11
4:41 p.m.
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