android_kernel_xiaomi_sm8350/sound
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 <ukleinek@informatik.uni-freiburg.de>
Cc: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-09-23 08:17:58 +02:00
..
aoa ALSA: aoa - Remove duplicate assignment of SNDRV_PCM_FMTBIT_S{16,24}_BE bits 2008-08-25 09:57:14 +02:00
arm ALSA: fix section for sa11xx-uda1341 platform driver 2008-09-09 18:51:56 +02:00
core ALSA: use correct lock in snd_ctl_dev_disconnect() 2008-09-09 09:11:48 +02:00
drivers ALSA: dummy driver - do not use assignment in if condition 2008-08-15 12:59:02 +02:00
i2c ALSA: revo51: add headphone output 2008-08-25 09:57:17 +02:00
isa ALSA: remove stale files 2008-09-09 09:10:52 +02:00
mips ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
oss sound: remove reference to dead sound OSS vars AEDSP16_MSS and SBPRO 2008-09-09 09:11:01 +02:00
parisc ALSA: harmony - fix a typo 2008-09-04 10:33:55 +02:00
pci ALSA: hda: fixed hp_nid DAC for DELL_M6 2008-09-23 08:17:57 +02:00
pcmcia ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
ppc ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
sh ALSA: Fix section for snd-aica platform driver 2008-09-23 08:17:58 +02:00
soc sound: ASoC: Fix WM8731 SPI write 2008-09-23 08:17:53 +02:00
sparc ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
spi
synth ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
usb ALSA: us122l - Add missing dependency on CONFIG_SND_HWDEP 2008-09-09 09:10:57 +02:00
ac97_bus.c
Kconfig sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
last.c
Makefile
sound_core.c ALSA: fix section mismatch in the sound_core 2008-09-09 09:11:53 +02:00
sound_firmware.c