svn commit: r360114 - stable/12/sys/dev/sound/pci/hda

Mark Johnston markj at FreeBSD.org
Mon Apr 20 13:19:24 UTC 2020


Author: markj
Date: Mon Apr 20 13:19:23 2020
New Revision: 360114
URL: https://svnweb.freebsd.org/changeset/base/360114

Log:
  MFC r359894:
  snd_hda(4): Recognize the ALC257 codec.
  
  PR:	245524

Modified:
  stable/12/sys/dev/sound/pci/hda/hdac.h
  stable/12/sys/dev/sound/pci/hda/hdacc.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- stable/12/sys/dev/sound/pci/hda/hdac.h	Mon Apr 20 13:18:36 2020	(r360113)
+++ stable/12/sys/dev/sound/pci/hda/hdac.h	Mon Apr 20 13:19:23 2020	(r360114)
@@ -361,6 +361,7 @@
 #define HDA_CODEC_ALC235	HDA_CODEC_CONSTRUCT(REALTEK, 0x0235)
 #define HDA_CODEC_ALC255	HDA_CODEC_CONSTRUCT(REALTEK, 0x0255)
 #define HDA_CODEC_ALC256	HDA_CODEC_CONSTRUCT(REALTEK, 0x0256)
+#define HDA_CODEC_ALC257	HDA_CODEC_CONSTRUCT(REALTEK, 0x0257)
 #define HDA_CODEC_ALC260	HDA_CODEC_CONSTRUCT(REALTEK, 0x0260)
 #define HDA_CODEC_ALC262	HDA_CODEC_CONSTRUCT(REALTEK, 0x0262)
 #define HDA_CODEC_ALC267	HDA_CODEC_CONSTRUCT(REALTEK, 0x0267)

Modified: stable/12/sys/dev/sound/pci/hda/hdacc.c
==============================================================================
--- stable/12/sys/dev/sound/pci/hda/hdacc.c	Mon Apr 20 13:18:36 2020	(r360113)
+++ stable/12/sys/dev/sound/pci/hda/hdacc.c	Mon Apr 20 13:19:23 2020	(r360114)
@@ -86,6 +86,7 @@ static const struct {
 	{ HDA_CODEC_ALC235, 0,		"Realtek ALC235" },
 	{ HDA_CODEC_ALC255, 0,		"Realtek ALC255" },
 	{ HDA_CODEC_ALC256, 0,		"Realtek ALC256" },
+	{ HDA_CODEC_ALC257, 0,		"Realtek ALC257" },
 	{ HDA_CODEC_ALC260, 0,		"Realtek ALC260" },
 	{ HDA_CODEC_ALC262, 0,		"Realtek ALC262" },
 	{ HDA_CODEC_ALC267, 0,		"Realtek ALC267" },


More information about the svn-src-stable-12 mailing list