Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
01e324b4
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看板
提交
01e324b4
编写于
11月 02, 2009
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/asoc' into for-linus
上级
23aebca4
b214f11f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
21 addition
and
5 deletion
+21
-5
sound/soc/omap/Kconfig
sound/soc/omap/Kconfig
+12
-1
sound/soc/soc-core.c
sound/soc/soc-core.c
+8
-3
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+1
-1
未找到文件。
sound/soc/omap/Kconfig
浏览文件 @
01e324b4
...
...
@@ -21,7 +21,18 @@ config SND_OMAP_SOC_AMS_DELTA
select SND_OMAP_SOC_MCBSP
select SND_SOC_CX20442
help
Say Y if you want to add support for SoC audio on Amstrad Delta.
Say Y if you want to add support for SoC audio device connected to
a handset and a speakerphone found on Amstrad E3 (Delta) videophone.
Note that in order to get those devices fully supported, you have to
build the kernel with standard serial port driver included and
configured for at least 4 ports. Then, from userspace, you must load
a line discipline #19 on the modem (ttyS3) serial line. The simplest
way to achieve this is to install util-linux-ng and use the included
ldattach utility. This can be started automatically from udev,
a simple rule like this one should do the trick (it does for me):
ACTION=="add", KERNEL=="controlC0", \
RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"
config SND_OMAP_SOC_OSK5912
tristate "SoC Audio support for omap osk5912"
...
...
sound/soc/soc-core.c
浏览文件 @
01e324b4
...
...
@@ -834,6 +834,9 @@ EXPORT_SYMBOL_GPL(snd_soc_resume_device);
#define soc_resume NULL
#endif
static
struct
snd_soc_dai_ops
null_dai_ops
=
{
};
static
void
snd_soc_instantiate_card
(
struct
snd_soc_card
*
card
)
{
struct
platform_device
*
pdev
=
container_of
(
card
->
dev
,
...
...
@@ -877,6 +880,11 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
ac97
=
1
;
}
for
(
i
=
0
;
i
<
card
->
num_links
;
i
++
)
{
if
(
!
card
->
dai_link
[
i
].
codec_dai
->
ops
)
card
->
dai_link
[
i
].
codec_dai
->
ops
=
&
null_dai_ops
;
}
/* If we have AC97 in the system then don't wait for the
* codec. This will need revisiting if we have to handle
* systems with mixed AC97 and non-AC97 parts. Only check for
...
...
@@ -2329,9 +2337,6 @@ static int snd_soc_unregister_card(struct snd_soc_card *card)
return
0
;
}
static
struct
snd_soc_dai_ops
null_dai_ops
=
{
};
/**
* snd_soc_register_dai - Register a DAI with the ASoC core
*
...
...
sound/soc/soc-dapm.c
浏览文件 @
01e324b4
...
...
@@ -2072,9 +2072,9 @@ int snd_soc_dapm_stream_event(struct snd_soc_codec *codec,
}
}
}
mutex_unlock
(
&
codec
->
mutex
);
dapm_power_widgets
(
codec
,
event
);
mutex_unlock
(
&
codec
->
mutex
);
dump_dapm
(
codec
,
__func__
);
return
0
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录