OSDN Git Service

ALSA: snd-als100: fix suspend/resume
authorOndrej Zary <linux@rainbow-software.org>
Mon, 20 Aug 2012 19:50:13 +0000 (21:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Aug 2012 05:29:40 +0000 (07:29 +0200)
commit53e1719f3da0f095b8db1461bd12dd79f3246b84
tree5c4b221ccd0c779ff571afb284b80c04c4c168a8
parent535b6c51fe8293c88ce919cdfc4390c67a1cb6d1
ALSA: snd-als100: fix suspend/resume

snd_card_als100_probe() does not set pcm field in struct snd_sb.
As a result, PCM is not suspended and applications don't know that they need
to resume the playback.

Tested with Labway A381-F20 card (ALS120).

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