linux-stable/sound
Takashi Iwai a2663aaae0 ALSA: hda/realtek - Fix overridden device-specific initialization
commit 89781d0806 upstream.

The recent change to shuffle the codec initialization procedure for
Realtek via commit 607ca3bd22 ("ALSA: hda/realtek - EAPD turn on
later") caused the silent output on some machines.  This change was
supposed to be safe, but it isn't actually; some devices have quirk
setups to override the EAPD via COEF or BTL in the additional verb
table, which is applied at the beginning of snd_hda_gen_init().  And
this EAPD setup is again overridden in alc_auto_init_amp().

For recovering from the regression, tell snd_hda_gen_init() not to
apply the verbs there by a new flag, then apply the verbs in
alc_init().

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204727
Fixes: 607ca3bd22 ("ALSA: hda/realtek - EAPD turn on later")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-16 08:19:32 +02:00
..
aoa ALSA: snd-aoa: add of_node_put() in error path 2018-10-03 17:01:45 -07:00
arm ALSA: arm: Fix empty menuconfig SND_ARM 2016-08-01 16:07:53 +02:00
atmel
core ALSA: seq: Fix potential concurrent access to the deleted pool 2019-09-06 10:19:46 +02:00
drivers ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration 2019-04-20 09:07:47 +02:00
firewire ALSA: firewire: fix a memory leak bug 2019-08-25 10:51:38 +02:00
hda sound: enable interrupt after dma buffer initialization 2018-10-18 09:13:20 +02:00
i2c ALSA: ak4114: remove redundant check on err being < 0 2016-07-12 12:28:04 +02:00
isa ALSA: sb8: add a check for request_region 2019-04-20 09:07:47 +02:00
mips
oss sound: oss: Use kernel_read_file_from_path() for mod_firmware_load() 2016-07-26 10:38:03 +02:00
parisc
pci ALSA: hda/realtek - Fix overridden device-specific initialization 2019-09-16 08:19:32 +02:00
pcmcia ALSA: vxpocket: Fix invalid endian conversions 2018-08-22 07:47:14 +02:00
ppc powerpc updates for 4.9 2016-10-07 20:19:31 -07:00
sh ALSA: sh: aica: Remove deprecated create_workqueue 2016-06-07 11:23:33 +02:00
soc ASoC: ti: davinci-mcasp: Correct slot_width posed constraint 2019-09-06 10:19:32 +02:00
sparc ALSA: sparc: Fix invalid snd_free_pages() at error path 2018-12-05 19:42:40 +01:00
spi
synth ALSA: emux: Fix potential Spectre v1 vulnerabilities 2019-01-09 16:16:42 +01:00
usb ALSA: line6: Fix memory leak at line6_init_pcm() error path 2019-09-06 10:19:46 +02:00
ac97_bus.c
Kconfig
last.c
Makefile sound: oss: Use kernel_read_file_from_path() for mod_firmware_load() 2016-07-26 10:38:03 +02:00
sound_core.c sound: fix a memory leak bug 2019-08-25 10:51:18 +02:00