[alsa-devel] [PATCH 1/3] new ad1836 codec driver based on asoc
Barry Song
21cnbao at gmail.com
Thu Aug 13 11:52:42 CEST 2009
On Thu, Aug 13, 2009 at 5:46 PM, Mark
Brown<broonie at opensource.wolfsonmicro.com> wrote:
> 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.
>
Well. If all chips need this same operation, can it be abstracted to
the soc core layer?
More information about the Alsa-devel
mailing list