Browse Source

ALSA: hda - VIA: Add missing support for VT1718S in A-A path

Modify mute_aa_path() function to support VT1718S codec.

Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Lydia Wang 14 years ago
parent
commit
ab657e0cac
1 changed files with 5 additions and 0 deletions
  1. 5 0
      sound/pci/hda/patch_via.c

+ 5 - 0
sound/pci/hda/patch_via.c

@@ -1323,6 +1323,11 @@ static void mute_aa_path(struct hda_codec *codec, int mute)
 		start_idx = 2;
 		start_idx = 2;
 		end_idx = 4;
 		end_idx = 4;
 		break;
 		break;
+	case VT1718S:
+		nid_mixer = 0x21;
+		start_idx = 1;
+		end_idx = 3;
+		break;
 	default:
 	default:
 		return;
 		return;
 	}
 	}