Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Jens Axboe and committed by
Linus Torvalds
b3214970 6c80a21c

+1 -1
+1 -1
sound/pci/via82xx.c
··· 1836 1836 * 1837 1837 */ 1838 1838 1839 - static int __devinit snd_via82xx_chip_init(via82xx_t *chip) 1839 + static int snd_via82xx_chip_init(via82xx_t *chip) 1840 1840 { 1841 1841 unsigned int val; 1842 1842 int max_count;