[alsa-devel] [query] codec suspend not called when bias level is SND_SOC_BIAS_ON

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Dec 5 10:27:40 CET 2012

On Wed, Dec 05, 2012 at 12:38:56PM +0530, Shiraz Hashim wrote:

> My question is, during on-going audio play when system is put into
> suspend, codec->driver->suspend would not be called as its bias level
> is still SND_SOC_BIAS_ON, thus not giving a chance to codec to save
> its state.

> Is my understanding correct ? How to deal with this ?

Playback will be stopped as part of the DAPM teardown if it's supposed
to be stopped, this is for cases where bypass paths are still active due
to being marked as ignoring suspend.

More information about the Alsa-devel mailing list