[alsa-devel] [PATCH 5/5] ASoC: Blackfin I2S: fix resuming when device hasn't been used

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Sep 17 11:52:02 CEST 2009

On Wed, Sep 16, 2009 at 08:25:12PM -0400, Mike Frysinger wrote:
> From: Cliff Cai <cliff.cai at analog.com>

> If the sound system hasn't been utilized yet and we suspend, then we
> attempt to save/restore using state that doesn't exist.  So use a global
> handle instead to reconfigure properly.

I expect that this will break if more than one DAI is in use, which can
happen if people are using multiple DACs to do 5.1 or hardware mixing.
Would it not make sense to allocate the SPORT when the DAI is probed?

I've applied the other four patches - thanks.

More information about the Alsa-devel mailing list