13 Aug
2009
13 Aug
'09
11:46 a.m.
On Thu, Aug 13, 2009 at 05:37:09PM +0800, Barry Song wrote:
If so, all codec drivers need to save setting then restore them when resume. The physical shutdown depends on boards great. If we get an individual programmable PMU/LDO to control the voltage input to this chip, I can shutdown power-input to codec physically and save the registers when suspend, then restore them when resume. If no this unit, should every codec driver handle this case?
Yes, every CODEC driver that supports suspend and resume needs to handle this. Since the CODEC drivers generally use a register cache it's normally just a case of writing the values in the cache back to the device at the start of resume.