Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
f36c4045
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f36c4045
编写于
10月 01, 2009
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge remote branch 'takashi/topic/asoc' into for-2.6.33
上级
aa983d9d
140318aa
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
9 deletion
+10
-9
sound/soc/codecs/wm8711.c
sound/soc/codecs/wm8711.c
+4
-3
sound/soc/s3c24xx/neo1973_gta02_wm8753.c
sound/soc/s3c24xx/neo1973_gta02_wm8753.c
+3
-3
sound/soc/s3c24xx/neo1973_wm8753.c
sound/soc/s3c24xx/neo1973_wm8753.c
+3
-3
未找到文件。
sound/soc/codecs/wm8711.c
浏览文件 @
f36c4045
...
...
@@ -19,6 +19,7 @@
#include <linux/pm.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
...
...
@@ -632,9 +633,9 @@ static int __init wm8711_modinit(void)
}
#endif
#if defined(CONFIG_SPI_MASTER)
ret
=
spi_register_driver
(
&
wm87
3
1_spi_driver
);
ret
=
spi_register_driver
(
&
wm87
1
1_spi_driver
);
if
(
ret
!=
0
)
{
printk
(
KERN_ERR
"Failed to register WM87
3
1 SPI driver: %d
\n
"
,
printk
(
KERN_ERR
"Failed to register WM87
1
1 SPI driver: %d
\n
"
,
ret
);
}
#endif
...
...
@@ -648,7 +649,7 @@ static void __exit wm8711_exit(void)
i2c_del_driver
(
&
wm8711_i2c_driver
);
#endif
#if defined(CONFIG_SPI_MASTER)
spi_unregister_driver
(
&
wm87
3
1_spi_driver
);
spi_unregister_driver
(
&
wm87
1
1_spi_driver
);
#endif
}
module_exit
(
wm8711_exit
);
...
...
sound/soc/s3c24xx/neo1973_gta02_wm8753.c
浏览文件 @
f36c4045
...
...
@@ -133,7 +133,7 @@ static int neo1973_gta02_hifi_hw_free(struct snd_pcm_substream *substream)
struct
snd_soc_dai
*
codec_dai
=
rtd
->
dai
->
codec_dai
;
/* disable the PLL */
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL1
,
0
,
0
);
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL1
,
0
,
0
,
0
);
}
/*
...
...
@@ -183,7 +183,7 @@ static int neo1973_gta02_voice_hw_params(
return
ret
;
/* configue and enable PLL for 12.288MHz output */
ret
=
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
ret
=
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
0
,
iis_clkrate
/
4
,
12288000
);
if
(
ret
<
0
)
return
ret
;
...
...
@@ -197,7 +197,7 @@ static int neo1973_gta02_voice_hw_free(struct snd_pcm_substream *substream)
struct
snd_soc_dai
*
codec_dai
=
rtd
->
dai
->
codec_dai
;
/* disable the PLL */
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
0
,
0
);
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
0
,
0
,
0
);
}
static
struct
snd_soc_ops
neo1973_gta02_voice_ops
=
{
...
...
sound/soc/s3c24xx/neo1973_wm8753.c
浏览文件 @
f36c4045
...
...
@@ -153,7 +153,7 @@ static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream)
pr_debug
(
"Entered %s
\n
"
,
__func__
);
/* disable the PLL */
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL1
,
0
,
0
);
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL1
,
0
,
0
,
0
);
}
/*
...
...
@@ -203,7 +203,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream,
return
ret
;
/* configue and enable PLL for 12.288MHz output */
ret
=
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
ret
=
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
0
,
iis_clkrate
/
4
,
12288000
);
if
(
ret
<
0
)
return
ret
;
...
...
@@ -219,7 +219,7 @@ static int neo1973_voice_hw_free(struct snd_pcm_substream *substream)
pr_debug
(
"Entered %s
\n
"
,
__func__
);
/* disable the PLL */
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
0
,
0
);
return
snd_soc_dai_set_pll
(
codec_dai
,
WM8753_PLL2
,
0
,
0
,
0
);
}
static
struct
snd_soc_ops
neo1973_voice_ops
=
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录