Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
00f12dbd
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
00f12dbd
编写于
9月 29, 2016
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
上级
e4cf86a3
c8046000
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
9 deletion
+8
-9
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+8
-9
未找到文件。
sound/soc/soc-dapm.c
浏览文件 @
00f12dbd
...
...
@@ -1170,7 +1170,7 @@ static int is_connected_input_ep(struct snd_soc_dapm_widget *widget,
* @custom_stop_condition: (optional) a function meant to stop the widget graph
* walk based on custom logic.
*
* Queries DAPM graph as to whether a
n
valid audio stream path exists for
* Queries DAPM graph as to whether a valid audio stream path exists for
* the initial stream specified by name. This takes into account
* current mixer and mux kcontrol settings. Creates list of valid widgets.
*
...
...
@@ -1295,8 +1295,7 @@ static int dapm_widget_power_check(struct snd_soc_dapm_widget *w)
return
w
->
new_power
;
}
/* Generic check to see if a widget should be powered.
*/
/* Generic check to see if a widget should be powered. */
static
int
dapm_generic_check_power
(
struct
snd_soc_dapm_widget
*
w
)
{
int
in
,
out
;
...
...
@@ -1647,7 +1646,7 @@ static void dapm_pre_sequence_async(void *data, async_cookie_t cookie)
struct
snd_soc_dapm_context
*
d
=
data
;
int
ret
;
/* If we're off and we're not supposed to
be
go into STANDBY */
/* If we're off and we're not supposed to go into STANDBY */
if
(
d
->
bias_level
==
SND_SOC_BIAS_OFF
&&
d
->
target_bias_level
!=
SND_SOC_BIAS_OFF
)
{
if
(
d
->
dev
)
...
...
@@ -1799,7 +1798,7 @@ static bool dapm_idle_bias_off(struct snd_soc_dapm_context *dapm)
* A complete path is a route that has valid endpoints i.e.:-
*
* o DAC to output pin.
* o Input
P
in to ADC.
* o Input
p
in to ADC.
* o Input pin to Output pin (bypass, sidetone)
* o DAC to ADC (loopback).
*/
...
...
@@ -2115,7 +2114,7 @@ static inline void dapm_debugfs_cleanup(struct snd_soc_dapm_context *dapm)
* soc_dapm_connect_path() - Connects or disconnects a path
* @path: The path to update
* @connect: The new connect state of the path. True if the path is connected,
* false if it is disconneted.
* false if it is disconne
c
ted.
* @reason: The reason why the path changed (for debugging only)
*/
static
void
soc_dapm_connect_path
(
struct
snd_soc_dapm_path
*
path
,
...
...
@@ -2234,7 +2233,7 @@ static ssize_t dapm_widget_show_component(struct snd_soc_component *cmpnt,
if
(
w
->
dapm
!=
dapm
)
continue
;
/* only display widgets that burn
m
power */
/* only display widgets that burn power */
switch
(
w
->
id
)
{
case
snd_soc_dapm_hp
:
case
snd_soc_dapm_mic
:
...
...
@@ -2462,7 +2461,7 @@ static void dapm_update_widget_flags(struct snd_soc_dapm_widget *w)
switch
(
w
->
id
)
{
case
snd_soc_dapm_input
:
/* On a fully routed card a input is never a source */
/* On a fully routed card a
n
input is never a source */
if
(
w
->
dapm
->
card
->
fully_routed
)
return
;
ep
=
SND_SOC_DAPM_EP_SOURCE
;
...
...
@@ -3449,7 +3448,7 @@ snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
w
->
endpoints
[
dir
]
=
-
1
;
}
/* machine layer set
ups
unconnected pins and insertions */
/* machine layer set
s up
unconnected pins and insertions */
w
->
connected
=
1
;
return
w
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录