android_kernel_xiaomi_sm8350/sound
Krzysztof Helt d114cd84a1 ALSA: cs4236: detect chip in one pass
The cs4236 was two step detection with call to the snd_wss_free()
between two steps. The snd_wss_free() did not free a sound device
created in the snd_wss_create(). This caused an OOPS during module
removal as the same sound device was released twice. The same OOPS
happened if the cs4236 module loading failed.

Fix this by adapting the snd_cs4236_create() to correctly work with
chips less capable then cs4236. The snd_cs4236_create() behaves the
same as the snd_wss_create() if the chip is less capable than the cs4236.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-11-05 18:10:25 +01:00
..
aoa ALSA: Don't assume i2c device probing always succeeds 2009-10-01 07:46:33 +02:00
arm ALSA: aaci: ARM1176 aaci-pl041 AC97 register read timeout 2009-10-13 15:59:55 +02:00
atmel
core Merge branch 'fix/misc' into topic/misc 2009-11-01 11:11:07 +01:00
drivers ALSA: snd-pcsp: add nopcm mode 2009-11-01 11:13:19 +01:00
i2c
isa ALSA: cs4236: detect chip in one pass 2009-11-05 18:10:25 +01:00
mips ALSA: Fix invalid __exit in sound/mips/*.c 2009-10-02 11:06:16 +02:00
oss Merge branch 'fix/misc' into topic/misc 2009-11-01 11:11:07 +01:00
parisc ALSA: sound/parisc: Move dereference after NULL test 2009-10-30 12:01:38 +01:00
pci Merge branch 'fix/misc' into topic/misc 2009-11-01 11:11:07 +01:00
pcmcia
ppc sound: Make keywest_driver static 2009-10-02 07:38:37 +02:00
sh ALSA: sh: add SuperH DAC audio driver for ALSA V4 2009-11-04 09:17:40 +01:00
soc Merge branch 'fix/misc' into topic/misc 2009-11-01 11:11:07 +01:00
sparc
spi
synth
usb Merge branch 'fix/misc' into topic/misc 2009-11-01 11:11:07 +01:00
ac97_bus.c
Kconfig sound: make OSS device number claiming optional and schedule its removal 2009-08-10 13:59:36 +02:00
last.c
Makefile
sound_core.c Driver-Core: extend devnode callbacks to provide permissions 2009-09-19 12:50:38 -07:00
sound_firmware.c