Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
2e6705c0
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看板
提交
2e6705c0
编写于
10月 28, 2014
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ALSA: ctxfi: Kill the rest snd_print*()
Use the standard dev_*() instead. Signed-off-by:
N
Takashi Iwai
<
tiwai@suse.de
>
上级
859b2e37
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
4 deletion
+6
-4
sound/pci/ctxfi/ctatc.c
sound/pci/ctxfi/ctatc.c
+4
-2
sound/pci/ctxfi/cttimer.c
sound/pci/ctxfi/cttimer.c
+2
-2
未找到文件。
sound/pci/ctxfi/ctatc.c
浏览文件 @
2e6705c0
...
@@ -438,7 +438,9 @@ atc_pcm_playback_position(struct ct_atc *atc, struct ct_atc_pcm *apcm)
...
@@ -438,7 +438,9 @@ atc_pcm_playback_position(struct ct_atc *atc, struct ct_atc_pcm *apcm)
position
=
src
->
ops
->
get_ca
(
src
);
position
=
src
->
ops
->
get_ca
(
src
);
if
(
position
<
apcm
->
vm_block
->
addr
)
{
if
(
position
<
apcm
->
vm_block
->
addr
)
{
snd_printdd
(
"ctxfi: bad ca - ca=0x%08x, vba=0x%08x, vbs=0x%08x
\n
"
,
position
,
apcm
->
vm_block
->
addr
,
apcm
->
vm_block
->
size
);
dev_dbg
(
atc
->
card
->
dev
,
"bad ca - ca=0x%08x, vba=0x%08x, vbs=0x%08x
\n
"
,
position
,
apcm
->
vm_block
->
addr
,
apcm
->
vm_block
->
size
);
position
=
apcm
->
vm_block
->
addr
;
position
=
apcm
->
vm_block
->
addr
;
}
}
...
@@ -1295,7 +1297,7 @@ static int atc_identify_card(struct ct_atc *atc, unsigned int ssid)
...
@@ -1295,7 +1297,7 @@ static int atc_identify_card(struct ct_atc *atc, unsigned int ssid)
atc
->
model
=
CT20K2_UNKNOWN
;
atc
->
model
=
CT20K2_UNKNOWN
;
}
}
atc
->
model_name
=
ct_subsys_name
[
atc
->
model
];
atc
->
model_name
=
ct_subsys_name
[
atc
->
model
];
snd_printd
(
"ctxfi:
chip %s model %s (%04x:%04x) is found
\n
"
,
dev_info
(
atc
->
card
->
dev
,
"
chip %s model %s (%04x:%04x) is found
\n
"
,
atc
->
chip_name
,
atc
->
model_name
,
atc
->
chip_name
,
atc
->
model_name
,
vendor_id
,
device_id
);
vendor_id
,
device_id
);
return
0
;
return
0
;
...
...
sound/pci/ctxfi/cttimer.c
浏览文件 @
2e6705c0
...
@@ -421,12 +421,12 @@ struct ct_timer *ct_timer_new(struct ct_atc *atc)
...
@@ -421,12 +421,12 @@ struct ct_timer *ct_timer_new(struct ct_atc *atc)
atimer
->
atc
=
atc
;
atimer
->
atc
=
atc
;
hw
=
atc
->
hw
;
hw
=
atc
->
hw
;
if
(
!
use_system_timer
&&
hw
->
set_timer_irq
)
{
if
(
!
use_system_timer
&&
hw
->
set_timer_irq
)
{
snd_printd
(
KERN_INFO
"ctxfi:
Use xfi-native timer
\n
"
);
dev_info
(
atc
->
card
->
dev
,
"
Use xfi-native timer
\n
"
);
atimer
->
ops
=
&
ct_xfitimer_ops
;
atimer
->
ops
=
&
ct_xfitimer_ops
;
hw
->
irq_callback_data
=
atimer
;
hw
->
irq_callback_data
=
atimer
;
hw
->
irq_callback
=
ct_timer_interrupt
;
hw
->
irq_callback
=
ct_timer_interrupt
;
}
else
{
}
else
{
snd_printd
(
KERN_INFO
"ctxfi:
Use system timer
\n
"
);
dev_info
(
atc
->
card
->
dev
,
"
Use system timer
\n
"
);
atimer
->
ops
=
&
ct_systimer_ops
;
atimer
->
ops
=
&
ct_systimer_ops
;
}
}
return
atimer
;
return
atimer
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录