android_kernel_xiaomi_sm8350/sound
Takashi Iwai 95c0909961 ALSA: hda - Avoid call of snd_jack_report at release
Don't call snd_jack_report at release of sigmatel and conexnat codecs
which results in Oops at unloading the module.

The Oops is triggered by the power-up sequence during the free due to
the pincfg restoration.  Since the power-up sequence is involved with
the unsol handling, the jack reporting may be issued during that.
The Oops occurs with this jack reporting because the jack instances
have been already released but the codec doesn't do the proper
book-keeping.

This patch adds the book-keeping of jack instances to avoid the access
to bogus pointers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-14 16:15:29 +02:00
..
aoa Merge branch 'topic/aoa' into for-linus 2009-03-24 00:35:51 +01:00
arm Merge branch 'topic/asoc' into for-linus 2009-04-06 03:47:20 +02:00
atmel ALSA: snd-atmel-abdac: increase periods_min to 6 instead of 4 2009-04-06 03:56:28 +02:00
core ALSA: add private_data to struct snd_jack 2009-04-14 16:15:09 +02:00
drivers Merge branch 'core/percpu' into percpu-cpumask-x86-for-linus-2 2009-03-27 17:28:43 +01:00
i2c V4L/DVB (10771): tea575x-tuner: convert it to V4L2 API 2009-03-30 12:43:02 -03:00
isa ALSA: opl3sa2: add ZV port control 2009-04-06 03:46:17 +02:00
mips Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
oss trivial: Fix misspelling of firmware 2009-03-30 15:21:59 +02:00
parisc
pci ALSA: hda - Avoid call of snd_jack_report at release 2009-04-14 16:15:29 +02:00
pcmcia Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
ppc ALSA: move snd_powermac's probe function to .devinit.text 2009-04-06 03:52:57 +02:00
sh trivial: Fix misspelling of firmware 2009-03-30 15:21:59 +02:00
soc Merge branch 'for-2.6.30' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 2009-04-07 08:54:43 -07:00
sparc Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
spi
synth Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
usb sound: usb-audio: allow period sizes less than 1 ms 2009-04-07 04:11:28 +02:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c