1
0
Fork 0
remarkable-linux/sound/pci
Takashi Iwai 61963d34e9 ALSA: hda - Fix pincfg at resume on Lenovo T470 dock
commit 71db96ddfa upstream.

We've added a quirk to enable the recent Lenovo dock support, where it
overwrites the pin configs of NID 0x17 and 19, not only updating the
pin config cache.  It works right after the boot, but the problem is
that the pin configs are occasionally cleared when the machine goes to
PM.  Meanwhile the quirk writes the pin configs only at the pre-probe,
so this won't be applied any longer.

For addressing that issue, this patch moves the code to overwrite the
pin configs into HDA_FIXUP_ACT_INIT section so that it's always
applied at both probe and resume time.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195161
Fixes: 61fcf8ece9 ("ALSA: hda/realtek - Enable Thinkpad Dock device for ALC298 platform")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-11 16:21:28 +01:00
..
ac97 ALSA: ac97: Fix ifdef CONFIG_PROC_FS 2015-05-29 07:52:43 +02:00
ali5451 ALSA: ali5451: Fix out-of-bound position reporting 2016-09-21 14:38:02 +02:00
asihpi ALSA: asihpi: fix kernel memory disclosure 2016-10-18 14:08:25 +02:00
au88x0 ALSA: au88x0: avoid theoretical uninitialized access 2017-10-08 10:26:12 +02:00
aw2 ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
ca0106 ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
cs46xx ALSA: cs46xx: fix typo "seconadry" -> "secondary" 2016-09-01 14:21:53 +02:00
cs5535audio ALSA: cs5535audio: constify snd_pcm_ops structures 2016-09-02 11:48:56 +02:00
ctxfi ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call 2017-03-30 09:41:23 +02:00
echoaudio Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members" 2017-10-12 11:51:20 +02:00
emu10k1 ALSA: squash lines for simple wrapper functions 2016-09-07 20:35:29 +02:00
hda ALSA: hda - Fix pincfg at resume on Lenovo T470 dock 2018-03-11 16:21:28 +01:00
ice1712 ALSA: squash lines for simple wrapper functions 2016-09-07 20:35:29 +02:00
korg1212 ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
lola ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
lx6464es ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
mixart ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
nm256 ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
oxygen ALSA: oxygen: constify snd_pcm_ops structures 2016-09-02 11:50:42 +02:00
pcxhr ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
riptide ALSA: pci: constify local structures 2016-09-12 08:17:19 +02:00
rme9652 ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
trident ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
vx222 ALSA: vx: Fix possible transfer overflow 2017-11-21 09:23:25 +01:00
ymfpci ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
Kconfig ALSA: jack: Allow building the jack layer without input device 2016-02-23 09:03:07 +01:00
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
ad1889.c ALSA: ad1889: constify snd_pcm_ops structures 2016-09-02 11:50:24 +02:00
ad1889.h
ak4531_codec.c ALSA: pci: Drop superfluous ifdef CONFIG_PROC_FS 2015-05-29 08:00:06 +02:00
als300.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
als4000.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
atiixp.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
atiixp_modem.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
azt3328.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
azt3328.h ALSA: azt3328: fix previous breakage, improve suspend, cleanups 2009-07-15 12:03:26 +02:00
bt87x.c ALSA: bt87x: constify snd_pcm_ops structures 2016-09-02 11:51:03 +02:00
cmipci.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
cs4281.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
cs5530.c ASoC: sb16: Simplify snd_sb16dsp_pcm() 2015-01-02 16:28:35 +01:00
ens1370.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
ens1371.c
es1938.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
es1968.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
fm801.c ALSA: fm801: Initialize chip after IRQ handler is registered 2017-08-06 18:59:39 -07:00
intel8x0.c ALSA: intel8x0: Drop superfluous VM checks 2016-04-06 07:46:28 +02:00
intel8x0m.c ALSA: pci: Drop superfluous ifdef CONFIG_PROC_FS 2015-05-29 08:00:06 +02:00
maestro3.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
rme32.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
rme96.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
sis7019.c ALSA: remove deprecated use of pci api 2015-04-16 12:19:52 +02:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
via82xx.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00
via82xx_modem.c ALSA: constify snd_pcm_ops structures 2016-09-02 11:49:10 +02:00