On Wed, Apr 01, 2009 at 08:27:10PM +0100, Mark Brown wrote:
On Tue, Mar 31, 2009 at 07:37:55PM +0100, Russell King - ARM Linux wrote:
I don't think this is the complete story. Sometime between 2.6.27 and 2.6.29, the structure below /sys/devices/platform/soc-audio changed (the ac97 codec moved to the top level.)
I also haven't manage to reproduce the ordering issues with the register writes with or without my fixes so I can't be 100% confident that this will fix the problem you're seeing. If you could post your machine driver that'd be helpful.
My machine driver is very simple and doesn't implement any suspend/resume callbacks (that's what other things like soc-audio are doing, right?)
I've tried both your patches, and I still have to manually write to GCR to bring the bus out of reset. I'll investigate more in the coming days.