On Thu, Sep 17, 2009 at 05:52, Mark Brown wrote:
On Wed, Sep 16, 2009 at 08:25:12PM -0400, Mike Frysinger wrote:
From: Cliff Cai cliff.cai@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?
unfortunately, the system is already completely broken when more than one is used. ive opened an item to get this fixed, but it's going to require a few core pieces to be rewritten. so i'd like to have this merged since it improves the current situation. -mike