android_kernel_samsung_univ.../sound/hda
Takashi Iwai 0ba2ebc9f3 ALSA: hda: Drop useless WARN_ON()
commit a36c2638380c0a4676647a1f553b70b20d3ebce1 upstream.

Since the commit 97cc2ed27e5a ("ALSA: hda - Fix yet another i915
pointer leftover in error path") cleared hdac_acomp pointer, the
WARN_ON() non-NULL check in snd_hdac_i915_register_notifier() may give
a false-positive warning, as the function gets called no matter
whether the component is registered or not.  For fixing it, let's get
rid of the spurious WARN_ON().

Fixes: 97cc2ed27e5a ("ALSA: hda - Fix yet another i915 pointer leftover in error path")
Reported-by: Kouta Okamoto <kouta.okamoto@toshiba.co.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-02 20:33:22 +01:00
..
ext
array.c
hda_bus_type.c
hdac_bus.c
hdac_controller.c
hdac_device.c
hdac_i915.c ALSA: hda: Drop useless WARN_ON() 2018-01-02 20:33:22 +01:00
hdac_regmap.c
hdac_stream.c
hdac_sysfs.c
Kconfig
local.h
Makefile
trace.c
trace.h