android_kernel_motorola_sm6375/sound/sh
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Uwe Kleine-König 418c8f8991 ALSA: Fix section for snd-aica platform driver
Don't use __init but __devinit to define probe function.  A pointer to
snd_aica_probe is passed to the core via platform_driver_register and so the
function must not disappear after the module is loaded.  Using __init
and having HOTPLUG=y and SND_AICA=m the following probably oopses:

	echo -n AICA > /sys/bus/platform/driver/AICA/unbind
	echo -n AICA > /sys/bus/platform/driver/AICA/bind

Strange enough add_aicamixer_controls which is only called by
snd_aica_probe was already using __devinit.

While at it move the remove function to .devexit.text section.

Signed-off-by: Uwe Kleine-König <[email protected]>
Cc: Adrian McMenamin <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
2008-09-23 08:17:58 +02:00
..
aica.c ALSA: Fix section for snd-aica platform driver 2008-09-23 08:17:58 +02:00
aica.h sh: Fix Dreamcast DMA issues. 2007-07-24 13:30:55 +09:00
Kconfig sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
Makefile [ALSA] Add ALSA support for the SEGA Dreamcast PCM device 2007-07-20 11:11:17 +02:00