Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
de2cf591
K
Kernel
项目概览
openeuler
/
Kernel
接近 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
de2cf591
编写于
1月 29, 2009
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/hda' into for-linus
上级
c9de36f2
2a88464c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
15 addition
and
2 deletion
+15
-2
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_conexant.c
+12
-2
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+1
-0
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+2
-0
未找到文件。
sound/pci/hda/patch_conexant.c
浏览文件 @
de2cf591
...
@@ -347,6 +347,7 @@ static int conexant_mux_enum_put(struct snd_kcontrol *kcontrol,
...
@@ -347,6 +347,7 @@ static int conexant_mux_enum_put(struct snd_kcontrol *kcontrol,
&
spec
->
cur_mux
[
adc_idx
]);
&
spec
->
cur_mux
[
adc_idx
]);
}
}
#ifdef CONFIG_SND_JACK
static
int
conexant_add_jack
(
struct
hda_codec
*
codec
,
static
int
conexant_add_jack
(
struct
hda_codec
*
codec
,
hda_nid_t
nid
,
int
type
)
hda_nid_t
nid
,
int
type
)
{
{
...
@@ -394,7 +395,6 @@ static void conexant_report_jack(struct hda_codec *codec, hda_nid_t nid)
...
@@ -394,7 +395,6 @@ static void conexant_report_jack(struct hda_codec *codec, hda_nid_t nid)
static
int
conexant_init_jacks
(
struct
hda_codec
*
codec
)
static
int
conexant_init_jacks
(
struct
hda_codec
*
codec
)
{
{
#ifdef CONFIG_SND_JACK
struct
conexant_spec
*
spec
=
codec
->
spec
;
struct
conexant_spec
*
spec
=
codec
->
spec
;
int
i
;
int
i
;
...
@@ -422,10 +422,19 @@ static int conexant_init_jacks(struct hda_codec *codec)
...
@@ -422,10 +422,19 @@ static int conexant_init_jacks(struct hda_codec *codec)
++
hv
;
++
hv
;
}
}
}
}
#endif
return
0
;
return
0
;
}
}
#else
static
inline
void
conexant_report_jack
(
struct
hda_codec
*
codec
,
hda_nid_t
nid
)
{
}
static
inline
int
conexant_init_jacks
(
struct
hda_codec
*
codec
)
{
return
0
;
}
#endif
static
int
conexant_init
(
struct
hda_codec
*
codec
)
static
int
conexant_init
(
struct
hda_codec
*
codec
)
{
{
...
@@ -1566,6 +1575,7 @@ static struct snd_pci_quirk cxt5047_cfg_tbl[] = {
...
@@ -1566,6 +1575,7 @@ static struct snd_pci_quirk cxt5047_cfg_tbl[] = {
SND_PCI_QUIRK
(
0x103c
,
0x30a5
,
"HP DV5200T/DV8000T"
,
CXT5047_LAPTOP_HP
),
SND_PCI_QUIRK
(
0x103c
,
0x30a5
,
"HP DV5200T/DV8000T"
,
CXT5047_LAPTOP_HP
),
SND_PCI_QUIRK
(
0x103c
,
0x30b2
,
"HP DV2000T/DV3000T"
,
CXT5047_LAPTOP
),
SND_PCI_QUIRK
(
0x103c
,
0x30b2
,
"HP DV2000T/DV3000T"
,
CXT5047_LAPTOP
),
SND_PCI_QUIRK
(
0x103c
,
0x30b5
,
"HP DV2000Z"
,
CXT5047_LAPTOP
),
SND_PCI_QUIRK
(
0x103c
,
0x30b5
,
"HP DV2000Z"
,
CXT5047_LAPTOP
),
SND_PCI_QUIRK
(
0x103c
,
0x30cf
,
"HP DV6700"
,
CXT5047_LAPTOP
),
SND_PCI_QUIRK
(
0x1179
,
0xff31
,
"Toshiba P100"
,
CXT5047_LAPTOP_EAPD
),
SND_PCI_QUIRK
(
0x1179
,
0xff31
,
"Toshiba P100"
,
CXT5047_LAPTOP_EAPD
),
{}
{}
};
};
...
...
sound/pci/hda/patch_realtek.c
浏览文件 @
de2cf591
...
@@ -7018,6 +7018,7 @@ static int patch_alc882(struct hda_codec *codec)
...
@@ -7018,6 +7018,7 @@ static int patch_alc882(struct hda_codec *codec)
case 0x106b00a4: /* MacbookPro4,1 */
case 0x106b00a4: /* MacbookPro4,1 */
case 0x106b2c00: /* Macbook Pro rev3 */
case 0x106b2c00: /* Macbook Pro rev3 */
case 0x106b3600: /* Macbook 3.1 */
case 0x106b3600: /* Macbook 3.1 */
case 0x106b3800: /* MacbookPro4,1 - latter revision */
board_config = ALC885_MBP3;
board_config = ALC885_MBP3;
break;
break;
default:
default:
...
...
sound/pci/hda/patch_sigmatel.c
浏览文件 @
de2cf591
...
@@ -2539,6 +2539,8 @@ static int stac92xx_build_pcms(struct hda_codec *codec)
...
@@ -2539,6 +2539,8 @@ static int stac92xx_build_pcms(struct hda_codec *codec)
info
->
name
=
"STAC92xx Analog"
;
info
->
name
=
"STAC92xx Analog"
;
info
->
stream
[
SNDRV_PCM_STREAM_PLAYBACK
]
=
stac92xx_pcm_analog_playback
;
info
->
stream
[
SNDRV_PCM_STREAM_PLAYBACK
]
=
stac92xx_pcm_analog_playback
;
info
->
stream
[
SNDRV_PCM_STREAM_PLAYBACK
].
nid
=
spec
->
multiout
.
dac_nids
[
0
];
info
->
stream
[
SNDRV_PCM_STREAM_CAPTURE
]
=
stac92xx_pcm_analog_capture
;
info
->
stream
[
SNDRV_PCM_STREAM_CAPTURE
]
=
stac92xx_pcm_analog_capture
;
info
->
stream
[
SNDRV_PCM_STREAM_CAPTURE
].
nid
=
spec
->
adc_nids
[
0
];
info
->
stream
[
SNDRV_PCM_STREAM_CAPTURE
].
nid
=
spec
->
adc_nids
[
0
];
info
->
stream
[
SNDRV_PCM_STREAM_CAPTURE
].
substreams
=
spec
->
num_adcs
;
info
->
stream
[
SNDRV_PCM_STREAM_CAPTURE
].
substreams
=
spec
->
num_adcs
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录