ALSA: hda - Support Gigabyte Gaming board with dual Realtek codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Apr 2017 16:05:52 +0000 (18:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Apr 2017 08:52:46 +0000 (10:52 +0200)
commit7beb3a6e9335d13872f24566b451f8371edd238f
treef74dfced431462d18091ef1e0754a47093db8738
parent7480316c265c9fcdbf73b1b8dec061b893b7e987
ALSA: hda - Support Gigabyte Gaming board with dual Realtek codecs

This patch adds some workarounds to make Gigabyte GA-AX370 Gaming 5
board working without the conflicts of kctls, etc.  In general, the
dual codec configs result in the conflicts of the following stuff:
- Master controls
- Capture controls
- Analog loopback controls
In addition, the auto-mute and the auto-mic can't work well among
multiple codecs.

The current "solution" is to disable all these features, and use UCM
for a better PulseAudio management.  For a dedicated UCM profile, the
patch overrides the card longname so that the system an get a unique
profile path.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195305
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c