On Tue, Jan 27, 2009 at 05:19:53PM +0200, Vasily Khoruzhick wrote:
Uh-oh, I didn't thought that it will be so complicated to decide when turn one gpio line to 0 or 1 :) Btw, I'm thinking about using own write- and read- wrappers for uda1380, in this way I can check on each read/write whether codec power is enabled.
Are you really cutting all power to the codec or just the analogue supplies? Normally the digital is powered off a separate supply shared with other bits of the system.
That sounds like something in the teardown path should be done on startup as well. Can't think of any obvious gotchas there, though I'd be looking at the codec and machine drivers since the CPU driver for the S3C24xx is used in quite a few designs.
Sorry, but what is "teardown path"?
When playback is stopped.