Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3214970 authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds
Browse files

[PATCH] fix alsa via82xx resume



Trying software suspend on my workstation makes it crash on resume.  The
problem is that via82xx marks the chip_init function as _devinit, but calls
it on resume as well.

Cc: <tiwai@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6c80a21c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1836,7 +1836,7 @@ static void __devinit snd_via82xx_proc_init(via82xx_t *chip)
 *
 */

static int __devinit snd_via82xx_chip_init(via82xx_t *chip)
static int snd_via82xx_chip_init(via82xx_t *chip)
{
	unsigned int val;
	int max_count;