OSDN Git Service

ALSA: hda/realtek - Add a model for Thinkpad T570 without DAC workaround
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2020 06:24:06 +0000 (08:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2020 06:25:23 +0000 (08:25 +0200)
commit399c01aa49e548c82d40f8161915a5941dd3c60e
tree475c8654a08f711a72c1408e37264fb4d4642fc8
parentfb8cd6481ffd126f35e9e146a0dcf0c4e8899f2e
ALSA: hda/realtek - Add a model for Thinkpad T570 without DAC workaround

We fixed the regression of the speaker volume for some Thinkpad models
(e.g. T570) by the commit 54947cd64c1b ("ALSA: hda/realtek - Fix
speaker output regression on Thinkpad T570").  Essentially it fixes
the DAC / pin pairing by a static table.  It was confirmed and merged
to stable kernel later.

Now, interestingly, we got another regression report for the very same
model (T570) about the similar problem, and the commit above was the
culprit.  That is, by some reason, there are devices that prefer the
DAC1, and another device DAC2!

Unfortunately those have the same ID and we have no idea what can
differentiate, in this patch, a new fixup model "tpt470-dock-fix" is
provided, so that users with such a machine can apply it manually.
When model=tpt470-dock-fix option is passed to snd-hda-intel module,
it avoids the fixed DAC pairing and the DAC1 is assigned to the
speaker like the earlier versions.

Fixes: 54947cd64c1b ("ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570")
BugLink: https://apibugzilla.suse.com/show_bug.cgi?id=1172017
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200526062406.9799-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c