Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
728850a7
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
728850a7
编写于
5月 02, 2011
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ALSA: hda - Constify fixup and other array data in patch_ca0110.c
Signed-off-by:
N
Takashi Iwai
<
tiwai@suse.de
>
上级
779d0659
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
sound/pci/hda/patch_ca0110.c
sound/pci/hda/patch_ca0110.c
+8
-8
未找到文件。
sound/pci/hda/patch_ca0110.c
浏览文件 @
728850a7
...
...
@@ -134,7 +134,7 @@ static int ca0110_capture_pcm_cleanup(struct hda_pcm_stream *hinfo,
/*
*/
static
c
har
*
dirstr
[
2
]
=
{
"Playback"
,
"Capture"
};
static
c
onst
char
*
const
dirstr
[
2
]
=
{
"Playback"
,
"Capture"
};
static
int
_add_switch
(
struct
hda_codec
*
codec
,
hda_nid_t
nid
,
const
char
*
pfx
,
int
chan
,
int
dir
)
...
...
@@ -171,7 +171,7 @@ static int ca0110_build_controls(struct hda_codec *codec)
{
struct
ca0110_spec
*
spec
=
codec
->
spec
;
struct
auto_pin_cfg
*
cfg
=
&
spec
->
autocfg
;
static
c
har
*
prefix
[
AUTO_CFG_MAX_OUTS
]
=
{
static
c
onst
char
*
const
prefix
[
AUTO_CFG_MAX_OUTS
]
=
{
"Front"
,
"Surround"
,
NULL
,
"Side"
,
"Multi"
};
hda_nid_t
mutenid
;
...
...
@@ -259,7 +259,7 @@ static int ca0110_build_controls(struct hda_codec *codec)
/*
*/
static
struct
hda_pcm_stream
ca0110_pcm_analog_playback
=
{
static
const
struct
hda_pcm_stream
ca0110_pcm_analog_playback
=
{
.
substreams
=
1
,
.
channels_min
=
2
,
.
channels_max
=
8
,
...
...
@@ -270,7 +270,7 @@ static struct hda_pcm_stream ca0110_pcm_analog_playback = {
},
};
static
struct
hda_pcm_stream
ca0110_pcm_analog_capture
=
{
static
const
struct
hda_pcm_stream
ca0110_pcm_analog_capture
=
{
.
substreams
=
1
,
.
channels_min
=
2
,
.
channels_max
=
2
,
...
...
@@ -280,7 +280,7 @@ static struct hda_pcm_stream ca0110_pcm_analog_capture = {
},
};
static
struct
hda_pcm_stream
ca0110_pcm_digital_playback
=
{
static
const
struct
hda_pcm_stream
ca0110_pcm_digital_playback
=
{
.
substreams
=
1
,
.
channels_min
=
2
,
.
channels_max
=
2
,
...
...
@@ -291,7 +291,7 @@ static struct hda_pcm_stream ca0110_pcm_digital_playback = {
},
};
static
struct
hda_pcm_stream
ca0110_pcm_digital_capture
=
{
static
const
struct
hda_pcm_stream
ca0110_pcm_digital_capture
=
{
.
substreams
=
1
,
.
channels_min
=
2
,
.
channels_max
=
2
,
...
...
@@ -389,7 +389,7 @@ static void ca0110_free(struct hda_codec *codec)
kfree
(
codec
->
spec
);
}
static
struct
hda_codec_ops
ca0110_patch_ops
=
{
static
const
struct
hda_codec_ops
ca0110_patch_ops
=
{
.
build_controls
=
ca0110_build_controls
,
.
build_pcms
=
ca0110_build_pcms
,
.
init
=
ca0110_init
,
...
...
@@ -539,7 +539,7 @@ static int patch_ca0110(struct hda_codec *codec)
/*
* patch entries
*/
static
struct
hda_codec_preset
snd_hda_preset_ca0110
[]
=
{
static
const
struct
hda_codec_preset
snd_hda_preset_ca0110
[]
=
{
{
.
id
=
0x1102000a
,
.
name
=
"CA0110-IBG"
,
.
patch
=
patch_ca0110
},
{
.
id
=
0x1102000b
,
.
name
=
"CA0110-IBG"
,
.
patch
=
patch_ca0110
},
{
.
id
=
0x1102000d
,
.
name
=
"SB0880 X-Fi"
,
.
patch
=
patch_ca0110
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录