linux-kernel-test/sound/pci/hda
Takashi Iwai 07dc59f098 ALSA: hda - Fix Oops at codec reset/reconfig
snd_hda_codec_reset() calls restore_pincfgs() where the codec is
powered up again, which eventually tries to resume and initialize via
the callbacks of the codec.  However, it's the place just after codec
free callback, thus no codec callbacks should be called after that.
On a codec like CS4206, it results in Oops due to the access in init
callback.

This patch fixes the issue by clearing the codec callbacks properly
after freeing codec.

Reported-by: Daniel J Blueman <daniel@quora.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-09-10 10:26:23 +02:00
..
hda_auto_parser.c ALSA: hda - Fix ugly debug prints with CONFIG_SND_VERBOSE_PRINTK=y 2012-08-07 18:10:31 +02:00
hda_auto_parser.h ALSA: hda - Fix memory leaks in Realtek & Conexant codec parsers 2012-06-26 14:56:20 +02:00
hda_beep.c ALSA: hda - Fix 'Beep Playback Switch' with no underlying mute switch 2012-08-14 10:22:31 +02:00
hda_beep.h ALSA: hda - Get rid of superfluous beep->mode field 2012-07-03 18:31:36 +02:00
hda_codec.c ALSA: hda - Fix Oops at codec reset/reconfig 2012-09-10 10:26:23 +02:00
hda_codec.h ALSA: hda - Avoid unnecessary parameter read for EPSS 2012-08-28 09:25:57 -07:00
hda_eld.c ALSA: hda - hide HDMI/ELD printks unless snd.debug=2 2012-04-10 14:53:55 +02:00
hda_generic.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_hwdep.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
hda_intel.c ALSA: hda_intel: Add Device IDs for Intel Lynx Point-LP PCH 2012-08-09 18:42:42 +02:00
hda_jack.c ALSA: hda - Fix index number conflicts of phantom jacks 2012-07-17 16:55:56 +02:00
hda_jack.h ALSA: HDA: Create phantom jacks for fixed inputs and outputs 2012-06-14 12:59:35 +02:00
hda_local.h ALSA: hda - Move beep helper functions to hda_beep.c 2012-07-03 18:31:36 +02:00
hda_proc.c ALSA: hda - fix Copyright debug message 2012-08-13 10:02:01 +02:00
hda_trace.h ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
Kconfig ALSA: hda - Remove beep_mode=2 2012-07-03 18:31:20 +02:00
Makefile ALSA: hda - Move up the fixup helper functions to the library module 2012-05-08 18:01:33 +02:00
patch_analog.c ALSA: Convert to new pm_ops for PCI drivers 2012-07-03 08:23:03 +02:00
patch_ca0110.c ALSA: hda - Move BIOS pin-parser code to hda_auto_parser.c 2012-05-08 18:01:33 +02:00
patch_ca0132.c ALSA: hda - don't create dysfunctional mixer controls for ca0132 2012-08-20 11:33:23 +02:00
patch_cirrus.c ALSA: Convert to new pm_ops for PCI drivers 2012-07-03 08:23:03 +02:00
patch_cmedia.c ALSA: hda - Move BIOS pin-parser code to hda_auto_parser.c 2012-05-08 18:01:33 +02:00
patch_conexant.c ALSA: hda - remove redundant auto quirks for conexant 506x 2012-08-07 14:14:16 +02:00
patch_hdmi.c ALSA: hda - Fix regression of HDMI codec probing 2012-08-06 14:52:44 +02:00
patch_realtek.c ALSA: hda - Fix double quirk for Quanta FL1 / Lenovo Ideapad 2012-08-08 09:03:13 +02:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - Fix missing Master volume for STAC9200/925x 2012-09-06 10:10:11 +02:00
patch_via.c ALSA: hda - Fix pop noise in headphones on S3 for Asus X55A, X55V 2012-08-09 11:00:40 +02:00