1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Add quirk to set GPIO2 to enable internal speaker on Dell Vostro 1400.

Tested by:	Sergio Veloso
This commit is contained in:
Alexander Motin 2008-10-30 17:54:20 +00:00
parent c211285f25
commit 9fccea878a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184483

View File

@ -83,7 +83,7 @@
#include "mixer_if.h"
#define HDA_DRV_TEST_REV "20081024_0114"
#define HDA_DRV_TEST_REV "20081030_0115"
SND_DECLARE_FILE("$FreeBSD$");
@ -204,6 +204,7 @@ SND_DECLARE_FILE("$FreeBSD$");
#define DELL_VENDORID 0x1028
#define DELL_D630_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01f9)
#define DELL_D820_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01cc)
#define DELL_V1400_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x0227)
#define DELL_V1500_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x0228)
#define DELL_I1300_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01c9)
#define DELL_XPSM1210_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x01d7)
@ -4427,6 +4428,8 @@ static const struct {
HDA_QUIRK_GPIO0 | HDA_QUIRK_GPIO1, 0 },
{ DELL_D630_SUBVENDOR, HDA_CODEC_STAC9205X,
HDA_QUIRK_GPIO0, 0 },
{ DELL_V1400_SUBVENDOR, HDA_CODEC_STAC9228X,
HDA_QUIRK_GPIO2, 0 },
{ DELL_V1500_SUBVENDOR, HDA_CODEC_STAC9205X,
HDA_QUIRK_GPIO0, 0 },
{ HDA_MATCH_ALL, HDA_CODEC_AD1988,