[alsa-devel] [PATCH 5/5] ASoC: wm8995: Remove unnecessary suspend/resume bias level changes
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Wed Sep 3 10:22:19 CEST 2014
On Tue, Sep 02, 2014 at 10:20:34PM +0200, Lars-Peter Clausen wrote:
> The ASoC core will only call the suspend/resume callbacks when the device's
> DAPM context is idle. Since this driver sets idle_bias_off to true this
> means that the device is already in SND_SOC_BIAS_OFF when the suspend
> callback is called, so there is no need to manually set this state again.
> There is also no need to go to SND_SOC_BIAS_STANDBY in the resume callback
> since the core will go right back to SND_SOC_BIAS_OFF.
>
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> ---
Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list