android_kernel_google_msm/sound/pci
Wang YanQing a855502146 ALSA: HDA: Fix Oops caused by dereference NULL pointer
commit 2195b063f6 upstream.

The interrupt handler azx_interrupt will call azx_update_rirb,
which may call snd_hda_queue_unsol_event, snd_hda_queue_unsol_event
will dereference chip->bus pointer.

The problem is we alloc chip->bus in azx_codec_create
which will be called after we enable IRQ and enable unsolicited
event in azx_probe.

This will cause Oops due dereference NULL pointer. I meet it, good luck:)

[Rearranged the NULL check before the tracepoint and added another
 NULL check of bus->workq -- tiwai]

Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-05-19 10:54:36 -07:00
..
ac97 ALSA: ac97 - Fix missing NULL check in snd_ac97_cvol_new() 2012-10-21 09:28:02 -07:00
ali5451 ALSA: ali5451: remove irq enabling in pointer callback 2013-02-28 06:58:59 -08:00
asihpi ASoC: fixes for 3.4 2012-04-07 12:28:00 +02:00
au88x0 ALSA: au88x0 - Avoid possible Oops at unbinding 2012-03-16 09:54:00 +01:00
aw2 Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ca0106
cs46xx
cs5535audio
ctxfi ALSA: ctxfi: Fix typo in ctvmem.c 2012-02-23 18:28:49 +01:00
echoaudio ALSA: echoaudio: Remove incorrect part of assertion 2012-05-06 12:54:20 +02:00
emu10k1 ALSA: emu10k1: add chip details for E-mu 1010 PCIe card 2012-10-21 09:28:02 -07:00
hda ALSA: HDA: Fix Oops caused by dereference NULL pointer 2013-05-19 10:54:36 -07:00
ice1712 ALSA: ice1712: Initialize card->private_data properly 2013-03-14 11:29:50 -07:00
korg1212
lola
lx6464es
mixart
nm256
oxygen ALSA: oxygen, virtuoso: fix exchanged L/R volumes of aux and CD inputs 2012-02-08 09:46:37 +01:00
pcxhr
riptide
rme9652 ALSA: hdsp - Provide ioctl_compat 2012-05-08 07:27:22 +02:00
trident
vx222
ymfpci Merge branch 'topic/misc' into for-linus 2012-03-18 18:22:33 +01:00
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3 2012-02-25 19:03:18 +01:00
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c [media] tea575x-tuner: update to latest V4L2 framework requirements 2012-03-19 11:27:21 -03:00
fm801.c [media] tea575x-tuner: update to latest V4L2 framework requirements 2012-03-19 11:27:21 -03:00
intel8x0.c ALSA: intel8x0: Fix default inaudible sound on Gateway M520 2012-02-14 09:33:47 +01:00
intel8x0m.c
Kconfig [media] Drivers/media/radio: Fix build error 2012-04-09 10:12:54 -03:00
maestro3.c
Makefile
rme32.c ALSA: rme32.c irq enabling after spin_lock_irq 2013-02-28 06:58:59 -08:00
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c