[alsa-devel] [PATCH 1/3] new ad1836 codec driver based on asoc

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Aug 13 11:46:33 CEST 2009


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.


More information about the Alsa-devel mailing list