Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
d601b666
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看板
提交
d601b666
编写于
10月 26, 2013
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-linus' into for-next
上级
6913a9db
1ac32930
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
29 addition
and
4 deletion
+29
-4
MAINTAINERS
MAINTAINERS
+7
-0
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.c
+2
-2
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.c
+3
-1
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_analog.c
+17
-1
未找到文件。
MAINTAINERS
浏览文件 @
d601b666
...
...
@@ -7822,6 +7822,13 @@ F: Documentation/sound/alsa/soc/
F: sound/soc/
F: include/sound/soc*
SOUND - DMAENGINE HELPERS
M: Lars-Peter Clausen <lars@metafoo.de>
S: Supported
F: include/sound/dmaengine_pcm.h
F: sound/core/pcm_dmaengine.c
F: sound/soc/soc-generic-dmaengine-pcm.c
SPARC + UltraSPARC (sparc/sparc64)
M: "David S. Miller" <davem@davemloft.net>
L: sparclinux@vger.kernel.org
...
...
sound/pci/hda/hda_codec.c
浏览文件 @
d601b666
...
...
@@ -4864,8 +4864,8 @@ static void hda_power_work(struct work_struct *work)
spin_unlock
(
&
codec
->
power_lock
);
state
=
hda_call_codec_suspend
(
codec
,
true
);
codec
->
pm_down_notified
=
0
;
if
(
!
bus
->
power_keep_link_on
&&
(
state
&
AC_PWRST_CLK_STOP_OK
))
{
if
(
!
codec
->
pm_down_notified
&&
!
bus
->
power_keep_link_on
&&
(
state
&
AC_PWRST_CLK_STOP_OK
))
{
codec
->
pm_down_notified
=
1
;
hda_call_pm_notify
(
bus
,
false
);
}
...
...
sound/pci/hda/hda_generic.c
浏览文件 @
d601b666
...
...
@@ -4475,9 +4475,11 @@ int snd_hda_gen_build_controls(struct hda_codec *codec)
true
,
&
spec
->
vmaster_mute
.
sw_kctl
);
if
(
err
<
0
)
return
err
;
if
(
spec
->
vmaster_mute
.
hook
)
if
(
spec
->
vmaster_mute
.
hook
)
{
snd_hda_add_vmaster_hook
(
codec
,
&
spec
->
vmaster_mute
,
spec
->
vmaster_mute_enum
);
snd_hda_sync_vmaster_hook
(
&
spec
->
vmaster_mute
);
}
}
free_kctls
(
spec
);
/* no longer needed */
...
...
sound/pci/hda/patch_analog.c
浏览文件 @
d601b666
...
...
@@ -968,6 +968,15 @@ static void ad1884_fixup_hp_eapd(struct hda_codec *codec,
}
}
static
void
ad1884_fixup_thinkpad
(
struct
hda_codec
*
codec
,
const
struct
hda_fixup
*
fix
,
int
action
)
{
struct
ad198x_spec
*
spec
=
codec
->
spec
;
if
(
action
==
HDA_FIXUP_ACT_PRE_PROBE
)
spec
->
gen
.
keep_eapd_on
=
1
;
}
/* set magic COEFs for dmic */
static
const
struct
hda_verb
ad1884_dmic_init_verbs
[]
=
{
{
0x01
,
AC_VERB_SET_COEF_INDEX
,
0x13f7
},
...
...
@@ -979,6 +988,7 @@ enum {
AD1884_FIXUP_AMP_OVERRIDE
,
AD1884_FIXUP_HP_EAPD
,
AD1884_FIXUP_DMIC_COEF
,
AD1884_FIXUP_THINKPAD
,
AD1884_FIXUP_HP_TOUCHSMART
,
};
...
...
@@ -997,6 +1007,12 @@ static const struct hda_fixup ad1884_fixups[] = {
.
type
=
HDA_FIXUP_VERBS
,
.
v
.
verbs
=
ad1884_dmic_init_verbs
,
},
[
AD1884_FIXUP_THINKPAD
]
=
{
.
type
=
HDA_FIXUP_FUNC
,
.
v
.
func
=
ad1884_fixup_thinkpad
,
.
chained
=
true
,
.
chain_id
=
AD1884_FIXUP_DMIC_COEF
,
},
[
AD1884_FIXUP_HP_TOUCHSMART
]
=
{
.
type
=
HDA_FIXUP_VERBS
,
.
v
.
verbs
=
ad1884_dmic_init_verbs
,
...
...
@@ -1008,7 +1024,7 @@ static const struct hda_fixup ad1884_fixups[] = {
static
const
struct
snd_pci_quirk
ad1884_fixup_tbl
[]
=
{
SND_PCI_QUIRK
(
0x103c
,
0x2a82
,
"HP Touchsmart"
,
AD1884_FIXUP_HP_TOUCHSMART
),
SND_PCI_QUIRK_VENDOR
(
0x103c
,
"HP"
,
AD1884_FIXUP_HP_EAPD
),
SND_PCI_QUIRK_VENDOR
(
0x17aa
,
"Lenovo Thinkpad"
,
AD1884_FIXUP_
DMIC_COEF
),
SND_PCI_QUIRK_VENDOR
(
0x17aa
,
"Lenovo Thinkpad"
,
AD1884_FIXUP_
THINKPAD
),
{}
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录