]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ALSA: hda/realtek - Add headset mode support for Dell laptop
authorKailang Yang <kailang@realtek.com>
Thu, 22 Mar 2018 03:02:00 +0000 (04:02 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 29 Mar 2018 16:06:39 +0000 (18:06 +0200)
commit8228e45c8e47fe302ef5fb132b227855b4f612a5
tree24d5583f1532a1cfe4569c89010c8bd5f0372921
parentf940addd4b04e29fbb10c867d4c54a351a2614fc
ALSA: hda/realtek - Add headset mode support for Dell laptop

BugLink: https://bugs.launchpad.net/bugs/1757584
This platform was only one phone Jack.
Add dummy lineout verb to fix automute mode disable.
This just the workaround.

[ More background information:
  since the platform has only a headphone jack without speaker, the
  driver doesn't create the auto-mute control.  Meanwhile we do update
  the headset mode via the automute hook in the driver, thus with this
  setup, the headset won't be updated any longer.

  By adding a dummy line-out pin here, the auto-mute is added by the
  driver, and the headset update is triggered properly.

  Note that this is different from the other
  ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, which has the real line-out pin,
  while this quirk adds a dummy line-out pin.  -- tiwai ]

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
(backported from commit ae104a21e52b1f9aab342cf6924405177b720069)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Aaron Ma <aaron.ma@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
[ klebers: adjusted context ]
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/pci/hda/patch_realtek.c