Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
a17accb7
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
a17accb7
编写于
12月 18, 2009
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-2.6.33' into for-2.6.34
上级
56927eb0
48c03ce7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
10 addition
and
26 deletion
+10
-26
sound/soc/codecs/ak4642.c
sound/soc/codecs/ak4642.c
+1
-1
sound/soc/codecs/stac9766.c
sound/soc/codecs/stac9766.c
+1
-17
sound/soc/codecs/wm8900.c
sound/soc/codecs/wm8900.c
+1
-1
sound/soc/codecs/wm8974.c
sound/soc/codecs/wm8974.c
+1
-1
sound/soc/imx/mx1_mx2-pcm.c
sound/soc/imx/mx1_mx2-pcm.c
+3
-3
sound/soc/omap/Makefile
sound/soc/omap/Makefile
+3
-3
未找到文件。
sound/soc/codecs/ak4642.c
浏览文件 @
a17accb7
...
...
@@ -470,7 +470,7 @@ EXPORT_SYMBOL_GPL(soc_codec_dev_ak4642);
static
int
__init
ak4642_modinit
(
void
)
{
int
ret
;
int
ret
=
0
;
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
ret
=
i2c_add_driver
(
&
ak4642_i2c_driver
);
#endif
...
...
sound/soc/codecs/stac9766.c
浏览文件 @
a17accb7
...
...
@@ -191,6 +191,7 @@ static int ac97_analog_prepare(struct snd_pcm_substream *substream,
vra
=
stac9766_ac97_read
(
codec
,
AC97_EXTENDED_STATUS
);
vra
|=
0x1
;
/* enable variable rate audio */
vra
&=
~
0x4
;
/* disable SPDIF output */
stac9766_ac97_write
(
codec
,
AC97_EXTENDED_STATUS
,
vra
);
...
...
@@ -221,22 +222,6 @@ static int ac97_digital_prepare(struct snd_pcm_substream *substream,
return
stac9766_ac97_write
(
codec
,
reg
,
runtime
->
rate
);
}
static
int
ac97_digital_trigger
(
struct
snd_pcm_substream
*
substream
,
int
cmd
,
struct
snd_soc_dai
*
dai
)
{
struct
snd_soc_codec
*
codec
=
dai
->
codec
;
unsigned
short
vra
;
switch
(
cmd
)
{
case
SNDRV_PCM_TRIGGER_STOP
:
vra
=
stac9766_ac97_read
(
codec
,
AC97_EXTENDED_STATUS
);
vra
&=
!
0x04
;
stac9766_ac97_write
(
codec
,
AC97_EXTENDED_STATUS
,
vra
);
break
;
}
return
0
;
}
static
int
stac9766_set_bias_level
(
struct
snd_soc_codec
*
codec
,
enum
snd_soc_bias_level
level
)
{
...
...
@@ -315,7 +300,6 @@ static struct snd_soc_dai_ops stac9766_dai_ops_analog = {
static
struct
snd_soc_dai_ops
stac9766_dai_ops_digital
=
{
.
prepare
=
ac97_digital_prepare
,
.
trigger
=
ac97_digital_trigger
,
};
struct
snd_soc_dai
stac9766_dai
[]
=
{
...
...
sound/soc/codecs/wm8900.c
浏览文件 @
a17accb7
...
...
@@ -199,7 +199,7 @@ static void wm8900_reset(struct snd_soc_codec *codec)
snd_soc_write
(
codec
,
WM8900_REG_RESET
,
0
);
memcpy
(
codec
->
reg_cache
,
wm8900_reg_defaults
,
sizeof
(
codec
->
reg_cache
));
sizeof
(
wm8900_reg_defaults
));
}
static
int
wm8900_hp_event
(
struct
snd_soc_dapm_widget
*
w
,
...
...
sound/soc/codecs/wm8974.c
浏览文件 @
a17accb7
...
...
@@ -47,7 +47,7 @@ static const u16 wm8974_reg[WM8974_CACHEREGNUM] = {
};
#define WM8974_POWER1_BIASEN 0x08
#define WM8974_POWER1_BUFIOEN 0x
10
#define WM8974_POWER1_BUFIOEN 0x
04
struct
wm8974_priv
{
struct
snd_soc_codec
codec
;
...
...
sound/soc/imx/mx1_mx2-pcm.c
浏览文件 @
a17accb7
...
...
@@ -322,12 +322,12 @@ static int mx1_mx2_pcm_open(struct snd_pcm_substream *substream)
pr_debug
(
"%s: Requesting dma channel (%s)
\n
"
,
__func__
,
prtd
->
dma_params
->
name
);
prtd
->
dma_ch
=
imx_dma_request_by_prio
(
prtd
->
dma_params
->
name
,
DMA_PRIO_HIGH
);
if
(
prtd
->
dma_ch
<
0
)
{
ret
=
imx_dma_request_by_prio
(
prtd
->
dma_params
->
name
,
DMA_PRIO_HIGH
);
if
(
ret
<
0
)
{
printk
(
KERN_ERR
"Error %d requesting dma channel
\n
"
,
ret
);
return
ret
;
}
prtd
->
dma_ch
=
ret
;
imx_dma_config_burstlen
(
prtd
->
dma_ch
,
prtd
->
dma_params
->
watermark_level
);
...
...
sound/soc/omap/Makefile
浏览文件 @
a17accb7
...
...
@@ -23,9 +23,9 @@ obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o
obj-$(CONFIG_SND_OMAP_SOC_AMS_DELTA)
+=
snd-soc-ams-delta.o
obj-$(CONFIG_SND_OMAP_SOC_OSK5912)
+=
snd-soc-osk5912.o
obj-$(CONFIG_SND_OMAP_SOC_OVERO)
+=
snd-soc-overo.o
obj-$(CONFIG_
MACH
_OMAP2EVM)
+=
snd-soc-omap2evm.o
obj-$(CONFIG_
MACH
_OMAP3EVM)
+=
snd-soc-omap3evm.o
obj-$(CONFIG_
MACH
_OMAP3517EVM)
+=
snd-soc-am3517evm.o
obj-$(CONFIG_
SND_OMAP_SOC
_OMAP2EVM)
+=
snd-soc-omap2evm.o
obj-$(CONFIG_
SND_OMAP_SOC
_OMAP3EVM)
+=
snd-soc-omap3evm.o
obj-$(CONFIG_
SND_OMAP_SOC
_OMAP3517EVM)
+=
snd-soc-am3517evm.o
obj-$(CONFIG_SND_OMAP_SOC_SDP3430)
+=
snd-soc-sdp3430.o
obj-$(CONFIG_SND_OMAP_SOC_OMAP3_PANDORA)
+=
snd-soc-omap3pandora.o
obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE)
+=
snd-soc-omap3beagle.o
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录