Re: [alsa-devel] [PATCH] wss_lib: fix suspend/resume

2012-07-16 Thread Takashi Iwai
At Thu, 12 Jul 2012 23:30:31 +0200, Ondrej Zary wrote: > > By setting SNDRV_PCM_INFO_RESUME, wss_lib claims that it can restore the card > state fully on resume. But in fact, it can't as DMA is not restored so any > playback/capture running during suspend will fail to continue after resume. > >

Re: [alsa-devel] [PATCH] wss_lib: fix suspend/resume

2012-07-16 Thread Takashi Iwai
At Thu, 12 Jul 2012 23:30:31 +0200, Ondrej Zary wrote: By setting SNDRV_PCM_INFO_RESUME, wss_lib claims that it can restore the card state fully on resume. But in fact, it can't as DMA is not restored so any playback/capture running during suspend will fail to continue after resume. Remove

[PATCH] wss_lib: fix suspend/resume

2012-07-12 Thread Ondrej Zary
By setting SNDRV_PCM_INFO_RESUME, wss_lib claims that it can restore the card state fully on resume. But in fact, it can't as DMA is not restored so any playback/capture running during suspend will fail to continue after resume. Remove SNDRV_PCM_INFO_RESUME flag from pcm info field to fix the

[PATCH] wss_lib: fix suspend/resume

2012-07-12 Thread Ondrej Zary
By setting SNDRV_PCM_INFO_RESUME, wss_lib claims that it can restore the card state fully on resume. But in fact, it can't as DMA is not restored so any playback/capture running during suspend will fail to continue after resume. Remove SNDRV_PCM_INFO_RESUME flag from pcm info field to fix the