Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
1ec1cdfb
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看板
提交
1ec1cdfb
编写于
2月 17, 2012
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ASoC: wm8996: Convert to use DAPM routes for stream connections
Signed-off-by:
N
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
上级
cdaaf301
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
39 addition
and
35 deletion
+39
-35
sound/soc/codecs/wm8996.c
sound/soc/codecs/wm8996.c
+39
-35
未找到文件。
sound/soc/codecs/wm8996.c
浏览文件 @
1ec1cdfb
...
...
@@ -1175,41 +1175,25 @@ SND_SOC_DAPM_DAC("DAC2R", NULL, WM8996_POWER_MANAGEMENT_5, 2, 0),
SND_SOC_DAPM_DAC
(
"DAC1L"
,
NULL
,
WM8996_POWER_MANAGEMENT_5
,
1
,
0
),
SND_SOC_DAPM_DAC
(
"DAC1R"
,
NULL
,
WM8996_POWER_MANAGEMENT_5
,
0
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF2RX1"
,
"AIF2 Playback"
,
0
,
WM8996_POWER_MANAGEMENT_4
,
9
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF2RX0"
,
"AIF2 Playback"
,
1
,
WM8996_POWER_MANAGEMENT_4
,
8
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF2TX1"
,
"AIF2 Capture"
,
0
,
WM8996_POWER_MANAGEMENT_6
,
9
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF2TX0"
,
"AIF2 Capture"
,
1
,
WM8996_POWER_MANAGEMENT_6
,
8
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX5"
,
"AIF1 Playback"
,
5
,
WM8996_POWER_MANAGEMENT_4
,
5
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX4"
,
"AIF1 Playback"
,
4
,
WM8996_POWER_MANAGEMENT_4
,
4
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX3"
,
"AIF1 Playback"
,
3
,
WM8996_POWER_MANAGEMENT_4
,
3
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX2"
,
"AIF1 Playback"
,
2
,
WM8996_POWER_MANAGEMENT_4
,
2
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX1"
,
"AIF1 Playback"
,
1
,
WM8996_POWER_MANAGEMENT_4
,
1
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX0"
,
"AIF1 Playback"
,
0
,
WM8996_POWER_MANAGEMENT_4
,
0
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX5"
,
"AIF1 Capture"
,
5
,
WM8996_POWER_MANAGEMENT_6
,
5
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX4"
,
"AIF1 Capture"
,
4
,
WM8996_POWER_MANAGEMENT_6
,
4
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX3"
,
"AIF1 Capture"
,
3
,
WM8996_POWER_MANAGEMENT_6
,
3
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX2"
,
"AIF1 Capture"
,
2
,
WM8996_POWER_MANAGEMENT_6
,
2
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX1"
,
"AIF1 Capture"
,
1
,
WM8996_POWER_MANAGEMENT_6
,
1
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX0"
,
"AIF1 Capture"
,
0
,
WM8996_POWER_MANAGEMENT_6
,
0
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF2RX1"
,
NULL
,
0
,
WM8996_POWER_MANAGEMENT_4
,
9
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF2RX0"
,
NULL
,
1
,
WM8996_POWER_MANAGEMENT_4
,
8
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF2TX1"
,
NULL
,
0
,
WM8996_POWER_MANAGEMENT_6
,
9
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF2TX0"
,
NULL
,
1
,
WM8996_POWER_MANAGEMENT_6
,
8
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX5"
,
NULL
,
5
,
WM8996_POWER_MANAGEMENT_4
,
5
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX4"
,
NULL
,
4
,
WM8996_POWER_MANAGEMENT_4
,
4
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX3"
,
NULL
,
3
,
WM8996_POWER_MANAGEMENT_4
,
3
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX2"
,
NULL
,
2
,
WM8996_POWER_MANAGEMENT_4
,
2
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX1"
,
NULL
,
1
,
WM8996_POWER_MANAGEMENT_4
,
1
,
0
),
SND_SOC_DAPM_AIF_IN
(
"AIF1RX0"
,
NULL
,
0
,
WM8996_POWER_MANAGEMENT_4
,
0
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX5"
,
NULL
,
5
,
WM8996_POWER_MANAGEMENT_6
,
5
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX4"
,
NULL
,
4
,
WM8996_POWER_MANAGEMENT_6
,
4
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX3"
,
NULL
,
3
,
WM8996_POWER_MANAGEMENT_6
,
3
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX2"
,
NULL
,
2
,
WM8996_POWER_MANAGEMENT_6
,
2
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX1"
,
NULL
,
1
,
WM8996_POWER_MANAGEMENT_6
,
1
,
0
),
SND_SOC_DAPM_AIF_OUT
(
"AIF1TX0"
,
NULL
,
0
,
WM8996_POWER_MANAGEMENT_6
,
0
,
0
),
/* We route as stereo pairs so define some dummy widgets to squash
* things down for now. RXA = 0,1, RXB = 2,3 and so on */
...
...
@@ -1284,6 +1268,26 @@ static const struct snd_soc_dapm_route wm8996_dapm_routes[] = {
{
"MICB2"
,
NULL
,
"MICB2 Audio"
},
{
"MICB2"
,
NULL
,
"Bandgap"
},
{
"AIF1RX0"
,
NULL
,
"AIF1 Playback"
},
{
"AIF1RX1"
,
NULL
,
"AIF1 Playback"
},
{
"AIF1RX2"
,
NULL
,
"AIF1 Playback"
},
{
"AIF1RX3"
,
NULL
,
"AIF1 Playback"
},
{
"AIF1RX4"
,
NULL
,
"AIF1 Playback"
},
{
"AIF1RX5"
,
NULL
,
"AIF1 Playback"
},
{
"AIF2RX0"
,
NULL
,
"AIF2 Playback"
},
{
"AIF2RX1"
,
NULL
,
"AIF2 Playback"
},
{
"AIF1 Capture"
,
NULL
,
"AIF1TX0"
},
{
"AIF1 Capture"
,
NULL
,
"AIF1TX1"
},
{
"AIF1 Capture"
,
NULL
,
"AIF1TX2"
},
{
"AIF1 Capture"
,
NULL
,
"AIF1TX3"
},
{
"AIF1 Capture"
,
NULL
,
"AIF1TX4"
},
{
"AIF1 Capture"
,
NULL
,
"AIF1TX5"
},
{
"AIF2 Capture"
,
NULL
,
"AIF2TX0"
},
{
"AIF2 Capture"
,
NULL
,
"AIF2TX1"
},
{
"IN1L PGA"
,
NULL
,
"IN2LN"
},
{
"IN1L PGA"
,
NULL
,
"IN2LP"
},
{
"IN1L PGA"
,
NULL
,
"IN1LN"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录