Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
75a287d9
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
75a287d9
编写于
11月 21, 2008
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'topic/fix/hda' into topic/hda
Conflicts: sound/pci/hda/patch_sigmatel.c
上级
1725b82a
3a7abfd2
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
23 addition
and
4 deletion
+23
-4
Documentation/sound/alsa/ALSA-Configuration.txt
Documentation/sound/alsa/ALSA-Configuration.txt
+1
-0
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+22
-4
未找到文件。
Documentation/sound/alsa/ALSA-Configuration.txt
浏览文件 @
75a287d9
...
...
@@ -1078,6 +1078,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
ref Reference board
dell-m4-1 Dell desktops
dell-m4-2 Dell desktops
dell-m4-3 Dell desktops
STAC92HD73*
ref Reference board
...
...
sound/pci/hda/patch_sigmatel.c
浏览文件 @
75a287d9
...
...
@@ -83,6 +83,7 @@ enum {
STAC_92HD71BXX_REF
,
STAC_DELL_M4_1
,
STAC_DELL_M4_2
,
STAC_DELL_M4_3
,
STAC_HP_M4
,
STAC_92HD71BXX_MODELS
};
...
...
@@ -1721,10 +1722,17 @@ static unsigned int dell_m4_2_pin_configs[11] = {
0x40f000f0
,
0x044413b0
,
0x044413b0
,
};
static
unsigned
int
dell_m4_3_pin_configs
[
11
]
=
{
0x0421101f
,
0x04a11221
,
0x90a70330
,
0x90170110
,
0x40f000f0
,
0x40f000f0
,
0x40f000f0
,
0x90a000f0
,
0x40f000f0
,
0x044413b0
,
0x044413b0
,
};
static
unsigned
int
*
stac92hd71bxx_brd_tbl
[
STAC_92HD71BXX_MODELS
]
=
{
[
STAC_92HD71BXX_REF
]
=
ref92hd71bxx_pin_configs
,
[
STAC_DELL_M4_1
]
=
dell_m4_1_pin_configs
,
[
STAC_DELL_M4_2
]
=
dell_m4_2_pin_configs
,
[
STAC_DELL_M4_3
]
=
dell_m4_3_pin_configs
,
[
STAC_HP_M4
]
=
NULL
,
};
...
...
@@ -1732,6 +1740,7 @@ static const char *stac92hd71bxx_models[STAC_92HD71BXX_MODELS] = {
[
STAC_92HD71BXX_REF
]
=
"ref"
,
[
STAC_DELL_M4_1
]
=
"dell-m4-1"
,
[
STAC_DELL_M4_2
]
=
"dell-m4-2"
,
[
STAC_DELL_M4_3
]
=
"dell-m4-3"
,
[
STAC_HP_M4
]
=
"hp-m4"
,
};
...
...
@@ -1767,6 +1776,8 @@ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = {
"unknown Dell"
,
STAC_DELL_M4_2
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x0264
,
"unknown Dell"
,
STAC_DELL_M4_2
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x02aa
,
"unknown Dell"
,
STAC_DELL_M4_3
),
{}
/* terminator */
};
...
...
@@ -4753,14 +4764,21 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
switch
(
spec
->
board_config
)
{
case
STAC_HP_M4
:
spec
->
num_dmics
=
0
;
spec
->
num_smuxes
=
0
;
spec
->
num_dmuxes
=
0
;
/* enable internal microphone */
stac_change_pin_config
(
codec
,
0x0e
,
0x01813040
);
stac92xx_auto_set_pinctl
(
codec
,
0x0e
,
AC_PINCTL_IN_EN
|
AC_PINCTL_VREF_80
);
/* fallthru */
case
STAC_DELL_M4_2
:
spec
->
num_dmics
=
0
;
spec
->
num_smuxes
=
0
;
spec
->
num_dmuxes
=
0
;
break
;
case
STAC_DELL_M4_1
:
case
STAC_DELL_M4_3
:
spec
->
num_dmics
=
1
;
spec
->
num_smuxes
=
0
;
spec
->
num_dmuxes
=
0
;
break
;
default:
spec
->
num_dmics
=
STAC92HD71BXX_NUM_DMICS
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录