Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
2c54c158
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看板
提交
2c54c158
编写于
11月 25, 2010
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-2.6.37' into for-2.6.38
上级
b26bb71f
8b6b30ab
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
53 addition
and
22 deletion
+53
-22
sound/soc/atmel/sam9g20_wm8731.c
sound/soc/atmel/sam9g20_wm8731.c
+4
-1
sound/soc/atmel/snd-soc-afeb9260.c
sound/soc/atmel/snd-soc-afeb9260.c
+0
-1
sound/soc/davinci/davinci-vcif.c
sound/soc/davinci/davinci-vcif.c
+3
-0
sound/soc/ep93xx/simone.c
sound/soc/ep93xx/simone.c
+10
-8
sound/soc/fsl/efika-audio-fabric.c
sound/soc/fsl/efika-audio-fabric.c
+1
-0
sound/soc/fsl/pcm030-audio-fabric.c
sound/soc/fsl/pcm030-audio-fabric.c
+1
-0
sound/soc/imx/imx-ssi.c
sound/soc/imx/imx-ssi.c
+11
-4
sound/soc/imx/phycore-ac97.c
sound/soc/imx/phycore-ac97.c
+21
-7
sound/soc/pxa/Kconfig
sound/soc/pxa/Kconfig
+1
-0
sound/soc/sh/ssi.c
sound/soc/sh/ssi.c
+1
-1
未找到文件。
sound/soc/atmel/sam9g20_wm8731.c
浏览文件 @
2c54c158
...
...
@@ -240,6 +240,7 @@ static int __init at91sam9g20ek_init(void)
if
(
!
at91sam9g20ek_snd_device
)
{
printk
(
KERN_ERR
"ASoC: Platform device allocation failed
\n
"
);
ret
=
-
ENOMEM
;
goto
err_mclk
;
}
platform_set_drvdata
(
at91sam9g20ek_snd_device
,
...
...
@@ -248,11 +249,13 @@ static int __init at91sam9g20ek_init(void)
ret
=
platform_device_add
(
at91sam9g20ek_snd_device
);
if
(
ret
)
{
printk
(
KERN_ERR
"ASoC: Platform device allocation failed
\n
"
);
platform_device_put
(
at91sam9g20ek_snd_device
)
;
goto
err_device_add
;
}
return
ret
;
err_device_add:
platform_device_put
(
at91sam9g20ek_snd_device
);
err_mclk:
clk_put
(
mclk
);
mclk
=
NULL
;
...
...
sound/soc/atmel/snd-soc-afeb9260.c
浏览文件 @
2c54c158
...
...
@@ -167,7 +167,6 @@ static int __init afeb9260_soc_init(void)
return
0
;
err1:
platform_device_del
(
afeb9260_snd_device
);
platform_device_put
(
afeb9260_snd_device
);
return
err
;
}
...
...
sound/soc/davinci/davinci-vcif.c
浏览文件 @
2c54c158
...
...
@@ -247,7 +247,10 @@ static int davinci_vcif_probe(struct platform_device *pdev)
static
int
davinci_vcif_remove
(
struct
platform_device
*
pdev
)
{
struct
davinci_vcif_dev
*
davinci_vcif_dev
=
dev_get_drvdata
(
&
pdev
->
dev
);
snd_soc_unregister_dai
(
&
pdev
->
dev
);
kfree
(
davinci_vcif_dev
);
return
0
;
}
...
...
sound/soc/ep93xx/simone.c
浏览文件 @
2c54c158
...
...
@@ -54,24 +54,26 @@ static int __init simone_init(void)
ret
=
platform_device_add
(
simone_snd_ac97_device
);
if
(
ret
)
goto
fail
;
goto
fail
1
;
simone_snd_device
=
platform_device_alloc
(
"soc-audio"
,
-
1
);
if
(
!
simone_snd_device
)
{
ret
=
-
ENOMEM
;
goto
fail
;
goto
fail
2
;
}
platform_set_drvdata
(
simone_snd_device
,
&
snd_soc_simone
);
ret
=
platform_device_add
(
simone_snd_device
);
if
(
ret
)
{
platform_device_put
(
simone_snd_device
);
goto
fail
;
}
if
(
ret
)
goto
fail3
;
return
ret
;
return
0
;
fail:
fail3:
platform_device_put
(
simone_snd_device
);
fail2:
platform_device_del
(
simone_snd_ac97_device
);
fail1:
platform_device_put
(
simone_snd_ac97_device
);
return
ret
;
}
...
...
sound/soc/fsl/efika-audio-fabric.c
浏览文件 @
2c54c158
...
...
@@ -76,6 +76,7 @@ static __init int efika_fabric_init(void)
rc
=
platform_device_add
(
pdev
);
if
(
rc
)
{
pr_err
(
"efika_fabric_init: platform_device_add() failed
\n
"
);
platform_device_put
(
pdev
);
return
-
ENODEV
;
}
return
0
;
...
...
sound/soc/fsl/pcm030-audio-fabric.c
浏览文件 @
2c54c158
...
...
@@ -76,6 +76,7 @@ static __init int pcm030_fabric_init(void)
rc
=
platform_device_add
(
pdev
);
if
(
rc
)
{
pr_err
(
"pcm030_fabric_init: platform_device_add() failed
\n
"
);
platform_device_put
(
pdev
);
return
-
ENODEV
;
}
return
0
;
...
...
sound/soc/imx/imx-ssi.c
浏览文件 @
2c54c158
...
...
@@ -679,8 +679,11 @@ static int imx_ssi_probe(struct platform_device *pdev)
}
ssi
->
soc_platform_pdev_fiq
=
platform_device_alloc
(
"imx-fiq-pcm-audio"
,
pdev
->
id
);
if
(
!
ssi
->
soc_platform_pdev_fiq
)
if
(
!
ssi
->
soc_platform_pdev_fiq
)
{
ret
=
-
ENOMEM
;
goto
failed_pdev_fiq_alloc
;
}
platform_set_drvdata
(
ssi
->
soc_platform_pdev_fiq
,
ssi
);
ret
=
platform_device_add
(
ssi
->
soc_platform_pdev_fiq
);
if
(
ret
)
{
...
...
@@ -689,8 +692,11 @@ static int imx_ssi_probe(struct platform_device *pdev)
}
ssi
->
soc_platform_pdev
=
platform_device_alloc
(
"imx-pcm-audio"
,
pdev
->
id
);
if
(
!
ssi
->
soc_platform_pdev
)
if
(
!
ssi
->
soc_platform_pdev
)
{
ret
=
-
ENOMEM
;
goto
failed_pdev_alloc
;
}
platform_set_drvdata
(
ssi
->
soc_platform_pdev
,
ssi
);
ret
=
platform_device_add
(
ssi
->
soc_platform_pdev
);
if
(
ret
)
{
...
...
@@ -703,6 +709,7 @@ static int imx_ssi_probe(struct platform_device *pdev)
failed_pdev_add:
platform_device_put
(
ssi
->
soc_platform_pdev
);
failed_pdev_alloc:
platform_device_del
(
ssi
->
soc_platform_pdev_fiq
);
failed_pdev_fiq_add:
platform_device_put
(
ssi
->
soc_platform_pdev_fiq
);
failed_pdev_fiq_alloc:
...
...
@@ -726,8 +733,8 @@ static int __devexit imx_ssi_remove(struct platform_device *pdev)
struct
resource
*
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
struct
imx_ssi
*
ssi
=
platform_get_drvdata
(
pdev
);
platform_device_
del
(
ssi
->
soc_platform_pdev
);
platform_device_
put
(
ssi
->
soc_platform_pdev
);
platform_device_
unregister
(
ssi
->
soc_platform_pdev
);
platform_device_
unregister
(
ssi
->
soc_platform_pdev_fiq
);
snd_soc_unregister_dai
(
&
pdev
->
dev
);
...
...
sound/soc/imx/phycore-ac97.c
浏览文件 @
2c54c158
...
...
@@ -42,6 +42,7 @@ static struct snd_soc_card imx_phycore = {
.
num_links
=
ARRAY_SIZE
(
imx_phycore_dai_ac97
),
};
static
struct
platform_device
*
imx_phycore_snd_ac97_device
;
static
struct
platform_device
*
imx_phycore_snd_device
;
static
int
__init
imx_phycore_init
(
void
)
...
...
@@ -52,29 +53,42 @@ static int __init imx_phycore_init(void)
/* return happy. We might run on a totally different machine */
return
0
;
imx_phycore_snd_device
=
platform_device_alloc
(
"soc-audio"
,
-
1
);
if
(
!
imx_phycore_snd_device
)
imx_phycore_snd_
ac97_
device
=
platform_device_alloc
(
"soc-audio"
,
-
1
);
if
(
!
imx_phycore_snd_
ac97_
device
)
return
-
ENOMEM
;
platform_set_drvdata
(
imx_phycore_snd_device
,
&
imx_phycore
);
ret
=
platform_device_add
(
imx_phycore_snd_device
);
platform_set_drvdata
(
imx_phycore_snd_ac97_device
,
&
imx_phycore
);
ret
=
platform_device_add
(
imx_phycore_snd_ac97_device
);
if
(
ret
)
goto
fail1
;
imx_phycore_snd_device
=
platform_device_alloc
(
"wm9712-codec"
,
-
1
);
if
(
!
imx_phycore_snd_device
)
return
-
ENOMEM
;
if
(
!
imx_phycore_snd_device
)
{
ret
=
-
ENOMEM
;
goto
fail2
;
}
ret
=
platform_device_add
(
imx_phycore_snd_device
);
if
(
ret
)
{
printk
(
KERN_ERR
"ASoC: Platform device allocation failed
\n
"
);
platform_device_put
(
imx_phycore_snd_device
)
;
goto
fail3
;
}
return
0
;
fail3:
platform_device_put
(
imx_phycore_snd_device
);
fail2:
platform_device_del
(
imx_phycore_snd_ac97_device
);
fail1:
platform_device_put
(
imx_phycore_snd_ac97_device
);
return
ret
;
}
static
void
__exit
imx_phycore_exit
(
void
)
{
platform_device_unregister
(
imx_phycore_snd_device
);
platform_device_unregister
(
imx_phycore_snd_ac97_device
);
}
late_initcall
(
imx_phycore_init
);
...
...
sound/soc/pxa/Kconfig
浏览文件 @
2c54c158
config SND_PXA2XX_SOC
tristate "SoC Audio for the Intel PXA2xx chip"
depends on ARCH_PXA
select SND_ARM
select SND_PXA2XX_LIB
help
Say Y or M if you want to add support for codecs attached to
...
...
sound/soc/sh/ssi.c
浏览文件 @
2c54c158
...
...
@@ -387,7 +387,7 @@ static int __devinit sh4_soc_dai_probe(struct platform_device *pdev)
static
int
__devexit
sh4_soc_dai_remove
(
struct
platform_device
*
pdev
)
{
snd_soc_unregister_dai
(
&
pdev
->
dev
,
ARRAY_SIZE
(
sh4_ssi_dai
));
snd_soc_unregister_dai
s
(
&
pdev
->
dev
,
ARRAY_SIZE
(
sh4_ssi_dai
));
return
0
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录