]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: wss_lib: fix suspend/resume
authorOndrej Zary <linux@rainbow-software.org>
Thu, 12 Jul 2012 21:30:31 +0000 (23:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Jul 2012 09:23:45 +0000 (11:23 +0200)
commitb9afe2c05743fdaf04ea7572988f27f78b73ef1a
treee0c132d4968beb23cdf8ec25e3783e009676684d
parent4289455cd243bffca21bdf1cc1b85aeb2b671838
ALSA: wss_lib: fix suspend/resume

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 problem.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/wss/wss_lib.c