android_kernel_oneplus_msm8998/sound
Mark Brown 99070b6b51 ASoC: dapm: Make sure we have a card when displaying component widgets
commit 47325078f2a3e543150e7df967e45756b2fff7ec upstream.

The dummy component is reused for all cards so we special case and don't
bind it to any of them.  This means that code like that displaying the
component widgets that tries to look at the card will crash.  In the
future we will fix this by ensuring that the dummy component looks like
other components but that is invasive and so not suitable for a fix.
Instead add a special case check here.

Reported-by: Harry Pan <harry.pan@intel.com>
Suggested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-04 14:48:48 -07:00
..
aoa
arm
atmel
core ALSA: timer: Use mod_timer() for rearming the system timer 2016-04-20 15:41:53 +09:00
drivers ALSA: dummy: Implement timer backend switching more safely 2016-02-17 12:31:00 -08:00
firewire ALSA: bebob: Use a signed return type for get_formation_index 2016-02-17 12:30:58 -08:00
hda ALSA: hda - Add / fix kernel doc comments 2015-10-28 12:37:29 +01:00
i2c
isa ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-02-17 12:30:58 -08:00
mips
oss
parisc
pci ALSA: hda - Add dock support for ThinkPad X260 2016-05-04 14:48:43 -07:00
pcmcia
ppc
sh
soc ASoC: dapm: Make sure we have a card when displaying component widgets 2016-05-04 14:48:48 -07:00
sparc ALSA: Add missing dependency on CONFIG_SND_TIMER 2016-02-17 12:30:58 -08:00
spi
synth
usb ALSA: usb-audio: Skip volume controls triggers hangup on Dell USB Dock 2016-04-20 15:42:15 +09:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c sound: fix check for error condition of register_chrdev() 2015-11-07 11:14:30 +01:00
sound_firmware.c