Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
649e5fb0
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看板
提交
649e5fb0
编写于
11月 29, 2010
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-2.6.37' into for-2.6.38
上级
df0701bb
39a54555
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
9 deletion
+12
-9
sound/soc/fsl/mpc8610_hpcd.c
sound/soc/fsl/mpc8610_hpcd.c
+1
-0
sound/soc/fsl/p1022_ds.c
sound/soc/fsl/p1022_ds.c
+1
-0
sound/soc/nuc900/nuc900-ac97.c
sound/soc/nuc900/nuc900-ac97.c
+7
-8
sound/soc/nuc900/nuc900-audio.h
sound/soc/nuc900/nuc900-audio.h
+2
-0
sound/soc/nuc900/nuc900-pcm.c
sound/soc/nuc900/nuc900-pcm.c
+1
-1
未找到文件。
sound/soc/fsl/mpc8610_hpcd.c
浏览文件 @
649e5fb0
...
...
@@ -498,6 +498,7 @@ static int mpc8610_hpcd_probe(struct platform_device *pdev)
dev_err
(
&
pdev
->
dev
,
"platform device add failed
\n
"
);
goto
error
;
}
dev_set_drvdata
(
&
pdev
->
dev
,
sound_device
);
of_node_put
(
codec_np
);
...
...
sound/soc/fsl/p1022_ds.c
浏览文件 @
649e5fb0
...
...
@@ -498,6 +498,7 @@ static int p1022_ds_probe(struct platform_device *pdev)
dev_err
(
&
pdev
->
dev
,
"platform device add failed
\n
"
);
goto
error
;
}
dev_set_drvdata
(
&
pdev
->
dev
,
sound_device
);
of_node_put
(
codec_np
);
...
...
sound/soc/nuc900/nuc900-ac97.c
浏览文件 @
649e5fb0
...
...
@@ -49,7 +49,7 @@ static unsigned short nuc900_ac97_read(struct snd_ac97 *ac97,
mutex_lock
(
&
ac97_mutex
);
val
=
nuc900_checkready
();
if
(
!!
val
)
{
if
(
val
)
{
dev_err
(
nuc900_audio
->
dev
,
"AC97 codec is not ready
\n
"
);
goto
out
;
}
...
...
@@ -102,7 +102,7 @@ static void nuc900_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
mutex_lock
(
&
ac97_mutex
);
tmp
=
nuc900_checkready
();
if
(
!!
tmp
)
if
(
tmp
)
dev_err
(
nuc900_audio
->
dev
,
"AC97 codec is not ready
\n
"
);
/* clear the R_WB bit and write register index */
...
...
@@ -149,7 +149,7 @@ static void nuc900_ac97_warm_reset(struct snd_ac97 *ac97)
udelay
(
100
);
val
=
nuc900_checkready
();
if
(
!!
val
)
if
(
val
)
dev_err
(
nuc900_audio
->
dev
,
"AC97 codec is not ready
\n
"
);
mutex_unlock
(
&
ac97_mutex
);
...
...
@@ -263,8 +263,7 @@ static int nuc900_ac97_trigger(struct snd_pcm_substream *substream,
return
ret
;
}
static
int
nuc900_ac97_probe
(
struct
platform_device
*
pdev
,
struct
snd_soc_dai
*
dai
)
static
int
nuc900_ac97_probe
(
struct
snd_soc_dai
*
dai
)
{
struct
nuc900_audio
*
nuc900_audio
=
nuc900_ac97_data
;
unsigned
long
val
;
...
...
@@ -284,12 +283,12 @@ static int nuc900_ac97_probe(struct platform_device *pdev,
return
0
;
}
static
void
nuc900_ac97_remove
(
struct
platform_device
*
pdev
,
struct
snd_soc_dai
*
dai
)
static
int
nuc900_ac97_remove
(
struct
snd_soc_dai
*
dai
)
{
struct
nuc900_audio
*
nuc900_audio
=
nuc900_ac97_data
;
clk_disable
(
nuc900_audio
->
clk
);
return
0
;
}
static
struct
snd_soc_dai_ops
nuc900_ac97_dai_ops
=
{
...
...
@@ -313,7 +312,7 @@ static struct snd_soc_dai_driver nuc900_ac97_dai = {
.
channels_max
=
2
,
},
.
ops
=
&
nuc900_ac97_dai_ops
,
}
}
;
static
int
__devinit
nuc900_ac97_drvprobe
(
struct
platform_device
*
pdev
)
{
...
...
sound/soc/nuc900/nuc900-audio.h
浏览文件 @
649e5fb0
...
...
@@ -110,4 +110,6 @@ struct nuc900_audio {
};
extern
struct
nuc900_audio
*
nuc900_ac97_data
;
#endif
/*end _NUC900_AUDIO_H */
sound/soc/nuc900/nuc900-pcm.c
浏览文件 @
649e5fb0
...
...
@@ -332,7 +332,7 @@ static struct snd_soc_platform_driver nuc900_soc_platform = {
.
ops
=
&
nuc900_dma_ops
,
.
pcm_new
=
nuc900_dma_new
,
.
pcm_free
=
nuc900_dma_free_dma_buffers
,
}
}
;
static
int
__devinit
nuc900_soc_platform_probe
(
struct
platform_device
*
pdev
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录