Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
20e91c57
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
20e91c57
编写于
5月 26, 2009
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/hda' into topic/hda
上级
86d190e7
461c6c3a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
0 deletion
+19
-0
Documentation/sound/alsa/HD-Audio-Models.txt
Documentation/sound/alsa/HD-Audio-Models.txt
+1
-0
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel.c
+1
-0
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+7
-0
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+10
-0
未找到文件。
Documentation/sound/alsa/HD-Audio-Models.txt
浏览文件 @
20e91c57
...
...
@@ -342,6 +342,7 @@ STAC9227/9228/9229/927x
ref-no-jd Reference board without HP/Mic jack detection
3stack D965 3stack
5stack D965 5stack + SPDIF
5stack-no-fp D965 5stack without front panel
dell-3stack Dell Dimension E520
dell-bios Fixes with Dell BIOS setup
auto BIOS setup (default)
...
...
sound/pci/hda/hda_intel.c
浏览文件 @
20e91c57
...
...
@@ -2147,6 +2147,7 @@ static struct snd_pci_quirk probe_mask_list[] __devinitdata = {
/* including bogus ALC268 in slot#2 that conflicts with ALC888 */
SND_PCI_QUIRK
(
0x17c0
,
0x4085
,
"Medion MD96630"
,
0x01
),
/* forced codec slots */
SND_PCI_QUIRK
(
0x1043
,
0x1262
,
"ASUS W5Fm"
,
0x103
),
SND_PCI_QUIRK
(
0x1046
,
0x1262
,
"ASUS W5F"
,
0x103
),
{}
};
...
...
sound/pci/hda/patch_realtek.c
浏览文件 @
20e91c57
...
...
@@ -789,6 +789,12 @@ static void alc_set_input_pin(struct hda_codec *codec, hda_nid_t nid,
pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT;
if (pincap & AC_PINCAP_VREF_80)
val = PIN_VREF80;
else if (pincap & AC_PINCAP_VREF_50)
val = PIN_VREF50;
else if (pincap & AC_PINCAP_VREF_100)
val = PIN_VREF100;
else if (pincap & AC_PINCAP_VREF_GRD)
val = PIN_VREFGRD;
}
snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, val);
}
...
...
@@ -12041,6 +12047,7 @@ static struct snd_pci_quirk alc268_cfg_tbl[] = {
SND_PCI_QUIRK(0x1028, 0x0253, "Dell OEM", ALC268_DELL),
SND_PCI_QUIRK(0x1028, 0x02b0, "Dell Inspiron Mini9", ALC268_DELL),
SND_PCI_QUIRK(0x103c, 0x30cc, "TOSHIBA", ALC268_TOSHIBA),
SND_PCI_QUIRK(0x103c, 0x30f1, "HP TX25xx series", ALC268_TOSHIBA),
SND_PCI_QUIRK(0x1043, 0x1205, "ASUS W7J", ALC268_3ST),
SND_PCI_QUIRK(0x1179, 0xff10, "TOSHIBA A205", ALC268_TOSHIBA),
SND_PCI_QUIRK(0x1179, 0xff50, "TOSHIBA A305", ALC268_TOSHIBA),
...
...
sound/pci/hda/patch_sigmatel.c
浏览文件 @
20e91c57
...
...
@@ -151,6 +151,7 @@ enum {
STAC_D965_REF
,
STAC_D965_3ST
,
STAC_D965_5ST
,
STAC_D965_5ST_NO_FP
,
STAC_DELL_3ST
,
STAC_DELL_BIOS
,
STAC_927X_MODELS
...
...
@@ -2261,6 +2262,13 @@ static unsigned int d965_5st_pin_configs[14] = {
0x40000100
,
0x40000100
};
static
unsigned
int
d965_5st_no_fp_pin_configs
[
14
]
=
{
0x40000100
,
0x40000100
,
0x0181304e
,
0x01014010
,
0x01a19040
,
0x01011012
,
0x01016011
,
0x40000100
,
0x40000100
,
0x40000100
,
0x40000100
,
0x01442070
,
0x40000100
,
0x40000100
};
static
unsigned
int
dell_3st_pin_configs
[
14
]
=
{
0x02211230
,
0x02a11220
,
0x01a19040
,
0x01114210
,
0x01111212
,
0x01116211
,
0x01813050
,
0x01112214
,
...
...
@@ -2273,6 +2281,7 @@ static unsigned int *stac927x_brd_tbl[STAC_927X_MODELS] = {
[
STAC_D965_REF
]
=
ref927x_pin_configs
,
[
STAC_D965_3ST
]
=
d965_3st_pin_configs
,
[
STAC_D965_5ST
]
=
d965_5st_pin_configs
,
[
STAC_D965_5ST_NO_FP
]
=
d965_5st_no_fp_pin_configs
,
[
STAC_DELL_3ST
]
=
dell_3st_pin_configs
,
[
STAC_DELL_BIOS
]
=
NULL
,
};
...
...
@@ -2283,6 +2292,7 @@ static const char *stac927x_models[STAC_927X_MODELS] = {
[
STAC_D965_REF
]
=
"ref"
,
[
STAC_D965_3ST
]
=
"3stack"
,
[
STAC_D965_5ST
]
=
"5stack"
,
[
STAC_D965_5ST_NO_FP
]
=
"5stack-no-fp"
,
[
STAC_DELL_3ST
]
=
"dell-3stack"
,
[
STAC_DELL_BIOS
]
=
"dell-bios"
,
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录