linux/sound/pci
Ranjani Sridharan d6947bb234
ASoC: hda: fix unbalanced codec dev refcount for HDA_DEV_ASOC
HDA_DEV_ASOC type codec device refcounts are managed differently
from HDA_DEV_LEGACY devices. The refcount is released explicitly
in snd_hdac_ext_bus_device_remove() for ASOC type devices.
So, remove the put_device() call in snd_hda_codec_dev_free()
for such devices to make the refcount balanced. This will prevent
the NULL pointer exception when the codec driver is released
after the card is freed.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-06-03 17:43:23 +01:00
..
ac97 ALSA: pci: Remove superfluous snd_info_register() calls 2019-02-06 18:11:54 +01:00
ali5451 ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
asihpi ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
au88x0 ALSA: au88xx: Add fall-through annotations 2018-10-12 09:31:34 +02:00
aw2 ALSA: pci: Drop superfluous PCM preallocation error checks 2019-02-06 10:29:09 +01:00
ca0106 Merge branch 'topic/memory-device-fixes-2' into for-next 2019-02-08 14:12:15 +01:00
cs46xx ALSA: cs46xx: Clean up proc file creations 2019-02-06 18:11:59 +01:00
cs5535audio ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
ctxfi ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
echoaudio ALSA: echoaudio: add a check for ioremap_nocache 2019-03-16 10:29:02 +01:00
emu10k1 Merge branch 'topic/memory-device-fixes-2' into for-next 2019-02-08 14:12:15 +01:00
hda ASoC: hda: fix unbalanced codec dev refcount for HDA_DEV_ASOC 2019-06-03 17:43:23 +01:00
ice1712 ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
korg1212 ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
lola ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
lx6464es Merge branch 'topic/memory-device-fixes-2' into for-next 2019-02-08 14:12:15 +01:00
mixart ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
nm256 ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
oxygen ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
pcxhr ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
riptide ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
rme9652 Merge branch 'topic/memory-device-fixes-2' into for-next 2019-02-08 14:12:15 +01:00
trident ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
vx222 ALSA: vx222: Fix invalid endian conversions 2018-07-26 08:23:28 +02:00
ymfpci ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
ad1889.c Merge branch 'topic/memory-device-fixes-2' into for-next 2019-02-08 14:12:15 +01:00
ad1889.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ak4531_codec.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
als300.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
als4000.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
atiixp_modem.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
atiixp.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
azt3328.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
azt3328.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bt87x.c ALSA: pci: Drop superfluous PCM preallocation error checks 2019-02-06 10:29:09 +01:00
cmipci.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
cs4281.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
cs5530.c ASoC: sb16: Simplify snd_sb16dsp_pcm() 2015-01-02 16:28:35 +01:00
ens1370.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
ens1371.c
es1938.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
es1968.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
fm801.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
intel8x0.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
intel8x0m.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
Kconfig docs: Fix some broken references 2018-06-15 18:10:01 -03:00
maestro3.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rme32.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
rme96.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
sis7019.c ALSA: pci: Remove superfluous snd_pcm_suspend*() calls 2019-01-15 17:47:15 +01:00
sis7019.h
sonicvibes.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00
via82xx_modem.c Merge branch 'topic/memory-device-fixes-2' into for-next 2019-02-08 14:12:15 +01:00
via82xx.c ALSA: pci: Clean up with new procfs helpers 2019-02-06 18:11:56 +01:00