Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
eefe93b9
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
eefe93b9
编写于
11月 25, 2008
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'topic/fix/hda' into topic/hda
Conflicts: sound/pci/hda/patch_sigmatel.c
上级
ee09543c
661cd8fb
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
29 addition
and
22 deletion
+29
-22
Documentation/sound/alsa/ALSA-Configuration.txt
Documentation/sound/alsa/ALSA-Configuration.txt
+3
-1
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+26
-21
未找到文件。
Documentation/sound/alsa/ALSA-Configuration.txt
浏览文件 @
eefe93b9
...
...
@@ -1083,7 +1083,9 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
STAC92HD73*
ref Reference board
dell-m6 Dell desktops
dell-m6-amic Dell desktops/laptops with analog mics
dell-m6-dmic Dell desktops/laptops with digital mics
dell-m6 Dell desktops/laptops with both type of mics
STAC9872
vaio Setup for VAIO FE550G/SZ110
...
...
sound/pci/hda/patch_sigmatel.c
浏览文件 @
eefe93b9
...
...
@@ -71,7 +71,9 @@ enum {
enum
{
STAC_92HD73XX_REF
,
STAC_DELL_M6
,
STAC_DELL_M6_AMIC
,
STAC_DELL_M6_DMIC
,
STAC_DELL_M6_BOTH
,
STAC_DELL_EQ
,
STAC_92HD73XX_MODELS
};
...
...
@@ -1656,13 +1658,17 @@ static unsigned int dell_m6_pin_configs[13] = {
static
unsigned
int
*
stac92hd73xx_brd_tbl
[
STAC_92HD73XX_MODELS
]
=
{
[
STAC_92HD73XX_REF
]
=
ref92hd73xx_pin_configs
,
[
STAC_DELL_M6
]
=
dell_m6_pin_configs
,
[
STAC_DELL_M6_AMIC
]
=
dell_m6_pin_configs
,
[
STAC_DELL_M6_DMIC
]
=
dell_m6_pin_configs
,
[
STAC_DELL_M6_BOTH
]
=
dell_m6_pin_configs
,
[
STAC_DELL_EQ
]
=
dell_m6_pin_configs
,
};
static
const
char
*
stac92hd73xx_models
[
STAC_92HD73XX_MODELS
]
=
{
[
STAC_92HD73XX_REF
]
=
"ref"
,
[
STAC_DELL_M6
]
=
"dell-m6"
,
[
STAC_DELL_M6_AMIC
]
=
"dell-m6-amic"
,
[
STAC_DELL_M6_DMIC
]
=
"dell-m6-dmic"
,
[
STAC_DELL_M6_BOTH
]
=
"dell-m6"
,
[
STAC_DELL_EQ
]
=
"dell-eq"
,
};
...
...
@@ -1671,21 +1677,23 @@ static struct snd_pci_quirk stac92hd73xx_cfg_tbl[] = {
SND_PCI_QUIRK
(
PCI_VENDOR_ID_INTEL
,
0x2668
,
"DFI LanParty"
,
STAC_92HD73XX_REF
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x0254
,
"Dell Studio 1535"
,
STAC_DELL_M6
),
"Dell Studio 1535"
,
STAC_DELL_M6
_DMIC
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x0255
,
"unknown Dell"
,
STAC_DELL_M6
),
"unknown Dell"
,
STAC_DELL_M6
_DMIC
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x0256
,
"unknown Dell"
,
STAC_DELL_M6
),
"unknown Dell"
,
STAC_DELL_M6
_BOTH
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x0257
,
"unknown Dell"
,
STAC_DELL_M6
),
"unknown Dell"
,
STAC_DELL_M6
_BOTH
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x025e
,
"unknown Dell"
,
STAC_DELL_M6
),
"unknown Dell"
,
STAC_DELL_M6
_AMIC
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x025f
,
"unknown Dell"
,
STAC_DELL_M6
),
"unknown Dell"
,
STAC_DELL_M6
_AMIC
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x0271
,
"unknown Dell"
,
STAC_DELL_M6
),
"unknown Dell"
,
STAC_DELL_M6_DMIC
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x0272
,
"unknown Dell"
,
STAC_DELL_M6_DMIC
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x029f
,
"Dell Studio 15
"
,
STAC_DELL_M6
),
"Dell Studio 15
37"
,
STAC_DELL_M6_DMIC
),
{}
/* terminator */
};
...
...
@@ -4513,7 +4521,9 @@ static int patch_stac92hd73xx(struct hda_codec *codec)
case
STAC_DELL_EQ
:
spec
->
init
=
dell_eq_core_init
;
/* fallthru */
case
STAC_DELL_M6
:
case
STAC_DELL_M6_AMIC
:
case
STAC_DELL_M6_DMIC
:
case
STAC_DELL_M6_BOTH
:
spec
->
num_smuxes
=
0
;
spec
->
mixer
=
&
stac92hd73xx_6ch_mixer
[
DELL_M6_MIXER
];
spec
->
amp_nids
=
&
stac92hd73xx_amp_nids
[
DELL_M6_AMP
];
...
...
@@ -4522,23 +4532,18 @@ static int patch_stac92hd73xx(struct hda_codec *codec)
if
(
!
spec
->
init
)
spec
->
init
=
dell_m6_core_init
;
switch
(
codec
->
subsystem_id
)
{
case
0x1028025e
:
/* Analog Mics */
case
0x1028025f
:
switch
(
spec
->
board_config
)
{
case
STAC_DELL_M6_AMIC
:
/* Analog Mics */
stac92xx_set_config_reg
(
codec
,
0x0b
,
0x90A70170
);
spec
->
num_dmics
=
0
;
spec
->
private_dimux
.
num_items
=
1
;
break
;
case
0x10280271
:
/* Digital Mics */
case
0x10280272
:
case
0x10280254
:
case
0x10280255
:
case
STAC_DELL_M6_DMIC
:
/* Digital Mics */
stac92xx_set_config_reg
(
codec
,
0x13
,
0x90A60160
);
spec
->
num_dmics
=
1
;
spec
->
private_dimux
.
num_items
=
2
;
break
;
case
0x10280256
:
/* Both */
case
0x10280057
:
case
STAC_DELL_M6_BOTH
:
/* Both */
stac92xx_set_config_reg
(
codec
,
0x0b
,
0x90A70170
);
stac92xx_set_config_reg
(
codec
,
0x13
,
0x90A60160
);
spec
->
num_dmics
=
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录