ALSA: hda/realtek - Fix Dell AIO LineOut issue
authorKailang Yang <kailang@realtek.com>
Thu, 14 Dec 2017 07:28:58 +0000 (15:28 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Dec 2017 10:09:05 +0000 (11:09 +0100)
commit9226665159f0367ad08bc7d5dd194aeadb90316f
tree3e58f87e9c5107259901b25135935bc9b68f71a7
parentc1cfd9025cc394fd137a01159d74335c5ac978ce
ALSA: hda/realtek - Fix Dell AIO LineOut issue

Dell AIO had LineOut jack.
Add LineOut verb into this patch.

[ Additional notes:
  the ALC274 codec seems requiring the fixed pin / DAC connections for
  HP / line-out pins for enabling EQ for speakers; i.e. the HP / LO
  pins expect to be connected with NID 0x03 while keeping the speaker
  with NID 0x02.  However, by adding a new line-out pin, the
  auto-parser assigns the NID 0x02 for HP/LO pins as primary outputs.
  As an easy workaround, we provide the preferred_pairs[] to map
  forcibly for these pins. -- tiwai ]

Fixes: 75ee94b20b46 ("ALSA: hda - fix headset mic problem for Dell machines with alc274")
Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c