ALSA: hda/realtek - Fix ALC700 family no sound issue
authorKailang Yang <kailang@realtek.com>
Wed, 22 Nov 2017 07:21:32 +0000 (15:21 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 23 Nov 2017 07:57:37 +0000 (08:57 +0100)
It maybe the typo for ALC700 support patch.
To fix the bit value on this patch.

Fixes: 6fbae35a3170 ("ALSA: hda/realtek - Add support for new codecs ALC700/ALC701/ALC703")
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

index 5bb5623..921a10e 100644 (file)
@@ -6894,7 +6894,7 @@ static int patch_alc269(struct hda_codec *codec)
        case 0x10ec0703:
                spec->codec_variant = ALC269_TYPE_ALC700;
                spec->gen.mixer_nid = 0; /* ALC700 does not have any loopback mixer path */
-               alc_update_coef_idx(codec, 0x4a, 0, 1 << 15); /* Combo jack auto trigger control */
+               alc_update_coef_idx(codec, 0x4a, 1 << 15, 0); /* Combo jack auto trigger control */
                break;
 
        }