]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Use a common helper for hp pin reference
authorTakashi Iwai <tiwai@suse.de>
Fri, 1 Feb 2019 10:19:50 +0000 (11:19 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 1 Feb 2019 10:21:46 +0000 (11:21 +0100)
commit7b4974d68dabddb711de4c4f9b3eddc0ccbb583b
tree91ad4c48c3842c722970434c697351bf044ddd09
parent9bcb0cba52b4a83002cb40afb9d7fc072ecc2121
ALSA: hda/realtek - Use a common helper for hp pin reference

Replace the open-codes in many places with a new common helper for
performing the same thing: referring to the primary headphone pin.

This eventually fixes the potentially missing headphone pin on some
weird devices, too.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c