[alsa-devel] [PATCH] ASoC: set idle_bias_off=1 for all platform DAPM contexts

Stephen Warren swarren at wwwdotorg.org
Thu Apr 5 20:34:22 CEST 2012


On 04/05/2012 12:28 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> The ASoC core currently defaults to using STANDBY rather than OFF for
> idle ASoC platform devices, which causes a permanent pm_runtime_get() on
> them. This keeps the device active unnecessarily. This can be especially
> problematic when the ASoC platform device and DAI device are the same
> device.
> 
> The distinction between OFF and STANDBY is likely not relevant for ASoC
> platform drivers, since they aren't analog devices. So, solve this issue
> by hard-coding idle_bias_off = 1 for all ASoC platform devices. If this
> turns out to be a problem, this value could be sourced from the
> snd_soc_platform_driver, similarly to soc_probe_codec().

Sorry, I forgot to mention that future Tegra ASoC changes will depend on
this change at runtime for correct operation.


More information about the Alsa-devel mailing list