Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
4038a12e
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4038a12e
编写于
9月 14, 2011
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/asoc' into for-linus
上级
2e1210bc
5013951b
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
20 addition
and
17 deletion
+20
-17
MAINTAINERS
MAINTAINERS
+4
-0
sound/soc/blackfin/bf5xx-ad193x.c
sound/soc/blackfin/bf5xx-ad193x.c
+2
-2
sound/soc/fsl/mpc5200_dma.c
sound/soc/fsl/mpc5200_dma.c
+3
-3
sound/soc/imx/imx-pcm-fiq.c
sound/soc/imx/imx-pcm-fiq.c
+0
-1
sound/soc/kirkwood/kirkwood-i2s.c
sound/soc/kirkwood/kirkwood-i2s.c
+1
-1
sound/soc/soc-cache.c
sound/soc/soc-cache.c
+6
-6
sound/soc/soc-core.c
sound/soc/soc-core.c
+2
-2
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+1
-1
sound/soc/soc-jack.c
sound/soc/soc-jack.c
+1
-1
未找到文件。
MAINTAINERS
浏览文件 @
4038a12e
...
...
@@ -7200,6 +7200,9 @@ W: http://opensource.wolfsonmicro.com/content/linux-drivers-wolfson-devices
S: Supported
F: Documentation/hwmon/wm83??
F: drivers/leds/leds-wm83*.c
F: drivers/input/misc/wm831x-on.c
F: drivers/input/touchscreen/wm831x-ts.c
F: drivers/input/touchscreen/wm97*.c
F: drivers/mfd/wm8*.c
F: drivers/power/wm83*.c
F: drivers/rtc/rtc-wm83*.c
...
...
@@ -7209,6 +7212,7 @@ F: drivers/watchdog/wm83*_wdt.c
F: include/linux/mfd/wm831x/
F: include/linux/mfd/wm8350/
F: include/linux/mfd/wm8400*
F: include/linux/wm97xx.h
F: include/sound/wm????.h
F: sound/soc/codecs/wm*
...
...
sound/soc/blackfin/bf5xx-ad193x.c
浏览文件 @
4038a12e
...
...
@@ -103,7 +103,7 @@ static struct snd_soc_dai_link bf5xx_ad193x_dai[] = {
.
cpu_dai_name
=
"bfin-tdm.0"
,
.
codec_dai_name
=
"ad193x-hifi"
,
.
platform_name
=
"bfin-tdm-pcm-audio"
,
.
codec_name
=
"
ad193x
.5"
,
.
codec_name
=
"
spi0
.5"
,
.
ops
=
&
bf5xx_ad193x_ops
,
},
{
...
...
@@ -112,7 +112,7 @@ static struct snd_soc_dai_link bf5xx_ad193x_dai[] = {
.
cpu_dai_name
=
"bfin-tdm.1"
,
.
codec_dai_name
=
"ad193x-hifi"
,
.
platform_name
=
"bfin-tdm-pcm-audio"
,
.
codec_name
=
"
ad193x
.5"
,
.
codec_name
=
"
spi0
.5"
,
.
ops
=
&
bf5xx_ad193x_ops
,
},
};
...
...
sound/soc/fsl/mpc5200_dma.c
浏览文件 @
4038a12e
...
...
@@ -369,7 +369,7 @@ static struct snd_soc_platform_driver mpc5200_audio_dma_platform = {
.
pcm_free
=
&
psc_dma_free
,
};
static
int
mpc5200_hpcd_probe
(
struct
of
_device
*
op
)
static
int
mpc5200_hpcd_probe
(
struct
platform
_device
*
op
)
{
phys_addr_t
fifo
;
struct
psc_dma
*
psc_dma
;
...
...
@@ -487,7 +487,7 @@ static int mpc5200_hpcd_probe(struct of_device *op)
return
ret
;
}
static
int
mpc5200_hpcd_remove
(
struct
of
_device
*
op
)
static
int
mpc5200_hpcd_remove
(
struct
platform
_device
*
op
)
{
struct
psc_dma
*
psc_dma
=
dev_get_drvdata
(
&
op
->
dev
);
...
...
@@ -519,7 +519,7 @@ MODULE_DEVICE_TABLE(of, mpc5200_hpcd_match);
static
struct
platform_driver
mpc5200_hpcd_of_driver
=
{
.
probe
=
mpc5200_hpcd_probe
,
.
remove
=
mpc5200_hpcd_remove
,
.
d
ev
=
{
.
d
river
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"mpc5200-pcm-audio"
,
.
of_match_table
=
mpc5200_hpcd_match
,
...
...
sound/soc/imx/imx-pcm-fiq.c
浏览文件 @
4038a12e
...
...
@@ -240,7 +240,6 @@ static int ssi_irq = 0;
static
int
imx_pcm_fiq_new
(
struct
snd_soc_pcm_runtime
*
rtd
)
{
struct
snd_card
*
card
=
rtd
->
card
->
snd_card
;
struct
snd_soc_dai
*
dai
=
rtd
->
cpu_dai
;
struct
snd_pcm
*
pcm
=
rtd
->
pcm
;
int
ret
;
...
...
sound/soc/kirkwood/kirkwood-i2s.c
浏览文件 @
4038a12e
...
...
@@ -424,7 +424,7 @@ static __devinit int kirkwood_i2s_dev_probe(struct platform_device *pdev)
if
(
!
priv
->
mem
)
{
dev_err
(
&
pdev
->
dev
,
"request_mem_region failed
\n
"
);
err
=
-
EBUSY
;
goto
err
or
_alloc
;
goto
err_alloc
;
}
priv
->
io
=
ioremap
(
priv
->
mem
->
start
,
SZ_16K
);
...
...
sound/soc/soc-cache.c
浏览文件 @
4038a12e
...
...
@@ -203,14 +203,14 @@ static int snd_soc_rbtree_cache_sync(struct snd_soc_codec *codec)
rbnode
=
rb_entry
(
node
,
struct
snd_soc_rbtree_node
,
node
);
for
(
i
=
0
;
i
<
rbnode
->
blklen
;
++
i
)
{
regtmp
=
rbnode
->
base_reg
+
i
;
WARN_ON
(
codec
->
writable_register
&&
codec
->
writable_register
(
codec
,
regtmp
));
val
=
snd_soc_rbtree_get_register
(
rbnode
,
i
);
def
=
snd_soc_get_cache_val
(
codec
->
reg_def_copy
,
i
,
rbnode
->
word_size
);
if
(
val
==
def
)
continue
;
WARN_ON
(
!
snd_soc_codec_writable_register
(
codec
,
regtmp
));
codec
->
cache_bypass
=
1
;
ret
=
snd_soc_write
(
codec
,
regtmp
,
val
);
codec
->
cache_bypass
=
0
;
...
...
@@ -563,8 +563,7 @@ static int snd_soc_lzo_cache_sync(struct snd_soc_codec *codec)
lzo_blocks
=
codec
->
reg_cache
;
for_each_set_bit
(
i
,
lzo_blocks
[
0
]
->
sync_bmp
,
lzo_blocks
[
0
]
->
sync_bmp_nbits
)
{
WARN_ON
(
codec
->
writable_register
&&
codec
->
writable_register
(
codec
,
i
));
WARN_ON
(
!
snd_soc_codec_writable_register
(
codec
,
i
));
ret
=
snd_soc_cache_read
(
codec
,
i
,
&
val
);
if
(
ret
)
return
ret
;
...
...
@@ -823,8 +822,6 @@ static int snd_soc_flat_cache_sync(struct snd_soc_codec *codec)
codec_drv
=
codec
->
driver
;
for
(
i
=
0
;
i
<
codec_drv
->
reg_cache_size
;
++
i
)
{
WARN_ON
(
codec
->
writable_register
&&
codec
->
writable_register
(
codec
,
i
));
ret
=
snd_soc_cache_read
(
codec
,
i
,
&
val
);
if
(
ret
)
return
ret
;
...
...
@@ -832,6 +829,9 @@ static int snd_soc_flat_cache_sync(struct snd_soc_codec *codec)
if
(
snd_soc_get_cache_val
(
codec
->
reg_def_copy
,
i
,
codec_drv
->
reg_word_size
)
==
val
)
continue
;
WARN_ON
(
!
snd_soc_codec_writable_register
(
codec
,
i
));
ret
=
snd_soc_write
(
codec
,
i
,
val
);
if
(
ret
)
return
ret
;
...
...
sound/soc/soc-core.c
浏览文件 @
4038a12e
...
...
@@ -1633,7 +1633,7 @@ int snd_soc_codec_readable_register(struct snd_soc_codec *codec,
if
(
codec
->
readable_register
)
return
codec
->
readable_register
(
codec
,
reg
);
else
return
0
;
return
1
;
}
EXPORT_SYMBOL_GPL
(
snd_soc_codec_readable_register
);
...
...
@@ -1651,7 +1651,7 @@ int snd_soc_codec_writable_register(struct snd_soc_codec *codec,
if
(
codec
->
writable_register
)
return
codec
->
writable_register
(
codec
,
reg
);
else
return
0
;
return
1
;
}
EXPORT_SYMBOL_GPL
(
snd_soc_codec_writable_register
);
...
...
sound/soc/soc-dapm.c
浏览文件 @
4038a12e
...
...
@@ -2763,7 +2763,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_ignore_suspend);
/**
* snd_soc_dapm_free - free dapm resources
* @
card: SoC device
* @
dapm: DAPM context
*
* Free all dapm widgets and resources.
*/
...
...
sound/soc/soc-jack.c
浏览文件 @
4038a12e
...
...
@@ -105,7 +105,7 @@ void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask)
snd_soc_dapm_sync
(
dapm
);
snd_jack_report
(
jack
->
jack
,
status
);
snd_jack_report
(
jack
->
jack
,
jack
->
status
);
out:
mutex_unlock
(
&
codec
->
mutex
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录