kernel-ark/sound/pci/hda
Takashi Iwai 594813ffa7 ALSA: hda - Don't call vmaster hook when bus->shutdown is set
The flag bus->shutdown implies that the control elements might have
been already destroyed.  When a codec is resumed at this state and
tries to call vmaster hook (e.g. in snd_hda_gen_init()), it would
refer to a non-existing object, resulting in Oops in the end.

This patch just adds a check of the flag in the caller side for
avoiding such a crash.

Though, the best would be to clear hook->sw_kctl by the destructor of
the corresponding ctl element, but vmaster uses its own private_free,
it can't be done easily.  So let it be for a while.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-04-17 18:20:42 +02:00
..
ca0132_regs.h ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS 2013-02-12 10:15:15 +01:00
hda_auto_parser.c ALSA: hda - allow "Headphone Mic" parser flag 2013-04-11 11:59:20 +02:00
hda_auto_parser.h ALSA: hda - add some small convenience functions to auto parser 2013-04-11 11:59:27 +02:00
hda_beep.c ALSA: hda - Make the resume of digital beep setup proper 2013-03-18 12:58:48 +01:00
hda_beep.h ALSA: hda - Fix power-saving during playing beep sound 2013-03-18 12:58:47 +01:00
hda_codec.c ALSA: hda - Don't call vmaster hook when bus->shutdown is set 2013-04-17 18:20:42 +02:00
hda_codec.h ALSA: hda - Introduce get_delay codec PCM ops 2013-04-05 07:33:32 +02:00
hda_eld.c ALSA: hda - bug fix on return value when getting HDMI ELD info 2013-04-02 11:55:23 +02:00
hda_generic.c ALSA: hda - Use the primary DAC for all aamix outputs 2013-04-16 14:16:54 +02:00
hda_generic.h ALSA: hda - Allow codec drivers to give own badness tables 2013-03-22 14:53:50 +01:00
hda_hwdep.c ALSA: hda - Add snd_hda_get_int_hint() helper function 2013-01-12 08:44:47 +01:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_intel.c ALSA: hda - Add codec delay to the capture time stamp. 2013-04-16 07:15:31 +02:00
hda_jack.c ALSA: hda - Handle Headphone Mic jack more generic 2013-04-11 11:59:41 +02:00
hda_jack.h ALSA: hda - Allow jack state to depend on another jack 2012-11-19 19:49:58 +01:00
hda_local.h ALSA: hda - Don't apply EAPD power filter as default 2013-03-13 18:07:05 +01:00
hda_proc.c ALSA: hda - Remove limit of widget connections 2013-02-07 20:01:08 +01:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
Kconfig Merge branch 'topic/hda-ca0132-dsp' into for-next 2013-02-07 12:34:36 +01:00
Makefile ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
patch_analog.c ALSA: hda - Move beep attach/detach calls in hda_generic.c 2013-03-18 12:58:42 +01:00
patch_ca0110.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_ca0132.c ALSA: hda/ca0132 - Update latency based on DSP state. 2013-04-05 07:34:21 +02:00
patch_cirrus.c ALSA: hda/cirrus - Add a quirk for Stumpy ChromeBox. 2013-04-05 07:35:37 +02:00
patch_cmedia.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_conexant.c ALSA: hda - Move beep attach/detach calls in hda_generic.c 2013-03-18 12:58:42 +01:00
patch_hdmi.c ALSA: hda - fixup D3 pin and right channel mute on Haswell HDMI audio 2013-04-17 08:13:44 +02:00
patch_realtek.c ASoC: Updates for v3.10 2013-04-15 19:45:16 +02:00
patch_si3054.c
patch_sigmatel.c ALSA: hda - Enable "Headset Mic" name for some Dell Latitude devices 2013-03-21 17:17:30 +01:00
patch_via.c ALSA: hda - VIA prefers side surrounds over HP 2013-03-22 15:11:07 +01:00