[alsa-devel] [PATCHv2 3/4] ASoC: tlv320aic3x: Use regulator notifiers for optimizing the cache sync

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Sep 20 12:38:43 CEST 2010


On Mon, Sep 20, 2010 at 10:39:13AM +0300, Jarkko Nikula wrote:
> There is no need to reset the codec and perform cache sync if none of the
> supply regulators were not disabled. Patch registers a notifier callback for
> each supply and callback then sets a flag to indicate when cache sync is
> required.
> 
> HW writes are also needless when codec bias is off so cache_only flag is set
> independently of actual supply regulators state.
> 
> Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>

Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>


More information about the Alsa-devel mailing list