Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
e29fe437
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
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看板
未验证
提交
e29fe437
编写于
2月 06, 2019
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'asoc-5.0' into asoc-5.1 for dapm table
上级
47306401
c16e1201
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
46 addition
and
10 deletion
+46
-10
MAINTAINERS
MAINTAINERS
+2
-2
sound/soc/codecs/hdmi-codec.c
sound/soc/codecs/hdmi-codec.c
+2
-2
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682.c
+2
-0
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/core.c
+4
-4
sound/soc/soc-core.c
sound/soc/soc-core.c
+7
-2
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+24
-0
sound/soc/soc-topology.c
sound/soc/soc-topology.c
+5
-0
未找到文件。
MAINTAINERS
浏览文件 @
e29fe437
...
...
@@ -6154,7 +6154,7 @@ FREESCALE SOC SOUND DRIVERS
M: Timur Tabi <timur@kernel.org>
M: Nicolin Chen <nicoleotsuka@gmail.com>
M: Xiubo Li <Xiubo.Lee@gmail.com>
R: Fabio Estevam <f
abio.estevam@nxp
.com>
R: Fabio Estevam <f
estevam@gmail
.com>
L: alsa-devel@alsa-project.org (moderated for non-subscribers)
L: linuxppc-dev@lists.ozlabs.org
S: Maintained
...
...
@@ -10901,7 +10901,7 @@ F: include/linux/nvmem-consumer.h
F: include/linux/nvmem-provider.h
NXP SGTL5000 DRIVER
M: Fabio Estevam <f
abio.estevam@nxp
.com>
M: Fabio Estevam <f
estevam@gmail
.com>
L: alsa-devel@alsa-project.org (moderated for non-subscribers)
S: Maintained
F: Documentation/devicetree/bindings/sound/sgtl5000.txt
...
...
sound/soc/codecs/hdmi-codec.c
浏览文件 @
e29fe437
...
...
@@ -795,6 +795,8 @@ static int hdmi_codec_probe(struct platform_device *pdev)
if
(
hcd
->
spdif
)
hcp
->
daidrv
[
i
]
=
hdmi_spdif_dai
;
dev_set_drvdata
(
dev
,
hcp
);
ret
=
devm_snd_soc_register_component
(
dev
,
&
hdmi_driver
,
hcp
->
daidrv
,
dai_count
);
if
(
ret
)
{
...
...
@@ -802,8 +804,6 @@ static int hdmi_codec_probe(struct platform_device *pdev)
__func__
,
ret
);
return
ret
;
}
dev_set_drvdata
(
dev
,
hcp
);
return
0
;
}
...
...
sound/soc/codecs/rt5682.c
浏览文件 @
e29fe437
...
...
@@ -1784,7 +1784,9 @@ static const struct snd_soc_dapm_route rt5682_dapm_routes[] = {
{
"ADC Stereo1 Filter"
,
NULL
,
"ADC STO1 ASRC"
,
is_using_asrc
},
{
"DAC Stereo1 Filter"
,
NULL
,
"DAC STO1 ASRC"
,
is_using_asrc
},
{
"ADC STO1 ASRC"
,
NULL
,
"AD ASRC"
},
{
"ADC STO1 ASRC"
,
NULL
,
"DA ASRC"
},
{
"ADC STO1 ASRC"
,
NULL
,
"CLKDET"
},
{
"DAC STO1 ASRC"
,
NULL
,
"AD ASRC"
},
{
"DAC STO1 ASRC"
,
NULL
,
"DA ASRC"
},
{
"DAC STO1 ASRC"
,
NULL
,
"CLKDET"
},
...
...
sound/soc/sh/rcar/core.c
浏览文件 @
e29fe437
...
...
@@ -1524,14 +1524,14 @@ int rsnd_kctrl_new(struct rsnd_mod *mod,
int
ret
;
/*
* 1) Avoid duplicate register (ex. MIXer case)
* 2) re-register if card was rebinded
* 1) Avoid duplicate register for DVC with MIX case
* 2) Allow duplicate register for MIX
* 3) re-register if card was rebinded
*/
list_for_each_entry
(
kctrl
,
&
card
->
controls
,
list
)
{
struct
rsnd_kctrl_cfg
*
c
=
kctrl
->
private_data
;
if
(
strcmp
(
kctrl
->
id
.
name
,
name
)
==
0
&&
c
->
mod
==
mod
)
if
(
c
==
cfg
)
return
0
;
}
...
...
sound/soc/soc-core.c
浏览文件 @
e29fe437
...
...
@@ -742,12 +742,17 @@ static struct snd_soc_component *soc_find_component(
const
struct
device_node
*
of_node
,
const
char
*
name
)
{
struct
snd_soc_component
*
component
;
struct
device_node
*
component_of_node
;
lockdep_assert_held
(
&
client_mutex
);
for_each_component
(
component
)
{
if
(
of_node
)
{
if
(
component
->
dev
->
of_node
==
of_node
)
component_of_node
=
component
->
dev
->
of_node
;
if
(
!
component_of_node
&&
component
->
dev
->
parent
)
component_of_node
=
component
->
dev
->
parent
->
of_node
;
if
(
component_of_node
==
of_node
)
return
component
;
}
else
if
(
name
&&
strcmp
(
component
->
name
,
name
)
==
0
)
{
return
component
;
...
...
@@ -960,7 +965,7 @@ static void soc_remove_dai(struct snd_soc_dai *dai, int order)
{
int
err
;
if
(
!
dai
||
!
dai
->
probed
||
if
(
!
dai
||
!
dai
->
probed
||
!
dai
->
driver
||
dai
->
driver
->
remove_order
!=
order
)
return
;
...
...
sound/soc/soc-dapm.c
浏览文件 @
e29fe437
...
...
@@ -70,12 +70,16 @@ static int dapm_up_seq[] = {
[
snd_soc_dapm_clock_supply
]
=
1
,
[
snd_soc_dapm_supply
]
=
2
,
[
snd_soc_dapm_micbias
]
=
3
,
[
snd_soc_dapm_vmid
]
=
3
,
[
snd_soc_dapm_dai_link
]
=
2
,
[
snd_soc_dapm_dai_in
]
=
4
,
[
snd_soc_dapm_dai_out
]
=
4
,
[
snd_soc_dapm_aif_in
]
=
4
,
[
snd_soc_dapm_aif_out
]
=
4
,
[
snd_soc_dapm_mic
]
=
5
,
[
snd_soc_dapm_siggen
]
=
5
,
[
snd_soc_dapm_input
]
=
5
,
[
snd_soc_dapm_output
]
=
5
,
[
snd_soc_dapm_mux
]
=
6
,
[
snd_soc_dapm_demux
]
=
6
,
[
snd_soc_dapm_dac
]
=
7
,
...
...
@@ -83,11 +87,19 @@ static int dapm_up_seq[] = {
[
snd_soc_dapm_mixer
]
=
8
,
[
snd_soc_dapm_mixer_named_ctl
]
=
8
,
[
snd_soc_dapm_pga
]
=
9
,
[
snd_soc_dapm_buffer
]
=
9
,
[
snd_soc_dapm_scheduler
]
=
9
,
[
snd_soc_dapm_effect
]
=
9
,
[
snd_soc_dapm_src
]
=
9
,
[
snd_soc_dapm_asrc
]
=
9
,
[
snd_soc_dapm_encoder
]
=
9
,
[
snd_soc_dapm_decoder
]
=
9
,
[
snd_soc_dapm_adc
]
=
10
,
[
snd_soc_dapm_out_drv
]
=
11
,
[
snd_soc_dapm_hp
]
=
11
,
[
snd_soc_dapm_spk
]
=
11
,
[
snd_soc_dapm_line
]
=
11
,
[
snd_soc_dapm_sink
]
=
11
,
[
snd_soc_dapm_kcontrol
]
=
12
,
[
snd_soc_dapm_post
]
=
13
,
};
...
...
@@ -100,13 +112,25 @@ static int dapm_down_seq[] = {
[
snd_soc_dapm_spk
]
=
3
,
[
snd_soc_dapm_line
]
=
3
,
[
snd_soc_dapm_out_drv
]
=
3
,
[
snd_soc_dapm_sink
]
=
3
,
[
snd_soc_dapm_pga
]
=
4
,
[
snd_soc_dapm_buffer
]
=
4
,
[
snd_soc_dapm_scheduler
]
=
4
,
[
snd_soc_dapm_effect
]
=
4
,
[
snd_soc_dapm_src
]
=
4
,
[
snd_soc_dapm_asrc
]
=
4
,
[
snd_soc_dapm_encoder
]
=
4
,
[
snd_soc_dapm_decoder
]
=
4
,
[
snd_soc_dapm_switch
]
=
5
,
[
snd_soc_dapm_mixer_named_ctl
]
=
5
,
[
snd_soc_dapm_mixer
]
=
5
,
[
snd_soc_dapm_dac
]
=
6
,
[
snd_soc_dapm_mic
]
=
7
,
[
snd_soc_dapm_siggen
]
=
7
,
[
snd_soc_dapm_input
]
=
7
,
[
snd_soc_dapm_output
]
=
7
,
[
snd_soc_dapm_micbias
]
=
8
,
[
snd_soc_dapm_vmid
]
=
8
,
[
snd_soc_dapm_mux
]
=
9
,
[
snd_soc_dapm_demux
]
=
9
,
[
snd_soc_dapm_aif_in
]
=
10
,
...
...
sound/soc/soc-topology.c
浏览文件 @
e29fe437
...
...
@@ -523,6 +523,7 @@ static void remove_dai(struct snd_soc_component *comp,
{
struct
snd_soc_dai_driver
*
dai_drv
=
container_of
(
dobj
,
struct
snd_soc_dai_driver
,
dobj
);
struct
snd_soc_dai
*
dai
;
if
(
pass
!=
SOC_TPLG_PASS_PCM_DAI
)
return
;
...
...
@@ -530,6 +531,10 @@ static void remove_dai(struct snd_soc_component *comp,
if
(
dobj
->
ops
&&
dobj
->
ops
->
dai_unload
)
dobj
->
ops
->
dai_unload
(
comp
,
dobj
);
list_for_each_entry
(
dai
,
&
comp
->
dai_list
,
list
)
if
(
dai
->
driver
==
dai_drv
)
dai
->
driver
=
NULL
;
kfree
(
dai_drv
->
name
);
list_del
(
&
dobj
->
list
);
kfree
(
dai_drv
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录