[alsa-devel] [PATCH] ASoC: pxa-ssp: disable only when the ssp dai is active

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Feb 5 12:03:20 CET 2009

On Thu, Feb 05, 2009 at 06:42:13PM +0800, Eric Miao wrote:

> Typo?

No, the check is inverted since the shutdown function will be called
once per substream.  This means that if both playback and record are
active and one is stopped the driver can't stop the clocks since
that'd disrupt the other.  The core updates the active flag before
calling into the driver.

More information about the Alsa-devel mailing list