[ALSA] snd-aoa: fix onyx resume
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 18 Dec 2006 12:20:06 +0000 (13:20 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:02:33 +0000 (09:02 +0100)
commitb0148a98ec5151fec82064d95f11eb9efbc628ea
treed90cc2e61215f583b3af7fdb4cac078872a11dde
parent333824034a19baf71b2bd5fe2153630982f379b0
[ALSA] snd-aoa: fix onyx resume

When the machine resumes the onyx codec might be in a weird state. Hence,
simply fully reset it once (and keep the code to take it out of suspend in
case the suspend of the codec chip survives a reset).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/aoa/codecs/snd-aoa-codec-onyx.c