[alsa-devel] [PATCH RFC 3/3] uda1380: make driver more powersave-friendly

Mark Brown broonie at opensource.wolfsonmicro.com
Sun Jun 27 22:55:29 CEST 2010


On 27 Jun 2010, at 11:43, Vasily Khoruzhick wrote:

> В сообщении от 27 июня 2010 13:10:54 автор Mark Brown написал:
>> Old drivers for fairly obscure chips aren't always a good guide to best
>> practices for things.

> Ok, what driver should I use as reference?

Off the top of my head WM8904 does regulator based power management.

>>> It's softreset and it's performed by writing some value to some reg. i2c
>>> xfers is not possible when codec is not enabled (it is not at this
>>> point)
>> 
>> It needs to happen at some point.
> 
> Softreset is performed right after codec power on, it can't be performed 
> earlier.

After power on it's not needed, the device should be in the default state
already. It's only required on startup when there's no power control for the
device.


More information about the Alsa-devel mailing list