Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
3ccbf1c3
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看板
提交
3ccbf1c3
编写于
11月 14, 2011
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ALSA: hda/realtek - Remove left-over chunks in alc882_quirks.c
Remove unused variables. Signed-off-by:
N
Takashi Iwai
<
tiwai@suse.de
>
上级
e29d3778
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
102 deletion
+0
-102
sound/pci/hda/alc882_quirks.c
sound/pci/hda/alc882_quirks.c
+0
-102
未找到文件。
sound/pci/hda/alc882_quirks.c
浏览文件 @
3ccbf1c3
...
...
@@ -13,10 +13,6 @@ enum {
ALC885_MACMINI3
,
ALC885_IMAC24
,
ALC885_IMAC91
,
ALC888_ACER_ASPIRE_4930G
,
ALC888_ACER_ASPIRE_6530G
,
ALC888_ACER_ASPIRE_8930G
,
ALC888_ACER_ASPIRE_7730G
,
ALC889A_MB31
,
ALC882_MODEL_LAST
,
};
...
...
@@ -43,15 +39,9 @@ static const hda_nid_t alc882_dac_nids[4] = {
#define alc882_adc_nids alc880_adc_nids
#define alc882_adc_nids_alt alc880_adc_nids_alt
#define alc883_adc_nids alc882_adc_nids_alt
static
const
hda_nid_t
alc883_adc_nids_alt
[
1
]
=
{
0x08
};
static
const
hda_nid_t
alc883_adc_nids_rev
[
2
]
=
{
0x09
,
0x08
};
#define alc889_adc_nids alc880_adc_nids
static
const
hda_nid_t
alc882_capsrc_nids
[
3
]
=
{
0x24
,
0x23
,
0x22
};
static
const
hda_nid_t
alc882_capsrc_nids_alt
[
2
]
=
{
0x23
,
0x22
};
#define alc883_capsrc_nids alc882_capsrc_nids_alt
static
const
hda_nid_t
alc883_capsrc_nids_rev
[
2
]
=
{
0x22
,
0x23
};
#define alc889_capsrc_nids alc882_capsrc_nids
/* input MUX */
/* FIXME: should be a matrix-type input source selection */
...
...
@@ -68,15 +58,6 @@ static const struct hda_input_mux alc882_capture_source = {
#define alc883_capture_source alc882_capture_source
static
const
struct
hda_input_mux
alc889_capture_source
=
{
.
num_items
=
3
,
.
items
=
{
{
"Front Mic"
,
0x0
},
{
"Mic"
,
0x3
},
{
"Line"
,
0x2
},
},
};
static
const
struct
hda_input_mux
mb5_capture_source
=
{
.
num_items
=
3
,
.
items
=
{
...
...
@@ -123,58 +104,6 @@ static const struct hda_input_mux alc889A_imac91_capture_source = {
},
};
/*
* 2ch mode
*/
static
const
struct
hda_channel_mode
alc883_3ST_2ch_modes
[
1
]
=
{
{
2
,
NULL
}
};
/*
* 2ch mode
*/
static
const
struct
hda_verb
alc882_3ST_ch2_init
[]
=
{
{
0x18
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_VREF80
},
{
0x18
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_OUT_MUTE
},
{
0x1a
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_IN
},
{
0x1a
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_OUT_MUTE
},
{
}
/* end */
};
/*
* 4ch mode
*/
static
const
struct
hda_verb
alc882_3ST_ch4_init
[]
=
{
{
0x18
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_VREF80
},
{
0x18
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_OUT_MUTE
},
{
0x1a
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_OUT
},
{
0x1a
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_OUT_UNMUTE
},
{
0x1a
,
AC_VERB_SET_CONNECT_SEL
,
0x01
},
{
}
/* end */
};
/*
* 6ch mode
*/
static
const
struct
hda_verb
alc882_3ST_ch6_init
[]
=
{
{
0x18
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_OUT
},
{
0x18
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_OUT_UNMUTE
},
{
0x18
,
AC_VERB_SET_CONNECT_SEL
,
0x02
},
{
0x1a
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_OUT
},
{
0x1a
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_OUT_UNMUTE
},
{
0x1a
,
AC_VERB_SET_CONNECT_SEL
,
0x01
},
{
}
/* end */
};
static
const
struct
hda_channel_mode
alc882_3ST_6ch_modes
[
3
]
=
{
{
2
,
alc882_3ST_ch2_init
},
{
4
,
alc882_3ST_ch4_init
},
{
6
,
alc882_3ST_ch6_init
},
};
#define alc883_3ST_6ch_modes alc882_3ST_6ch_modes
/* Macbook Air 2,1 */
static
const
struct
hda_channel_mode
alc885_mba21_ch_modes
[
1
]
=
{
...
...
@@ -380,24 +309,6 @@ static const struct hda_verb alc882_base_init_verbs[] = {
{
}
};
static
const
struct
hda_verb
alc882_adc1_init_verbs
[]
=
{
/* Input mixer1: unmute Mic, F-Mic, Line, CD inputs */
{
0x24
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_IN_UNMUTE
(
0
)},
{
0x24
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_IN_MUTE
(
3
)},
{
0x24
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_IN_MUTE
(
2
)},
{
0x24
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_IN_MUTE
(
4
)},
/* ADC1: mute amp left and right */
{
0x07
,
AC_VERB_SET_AMP_GAIN_MUTE
,
AMP_IN_MUTE
(
0
)},
{
0x07
,
AC_VERB_SET_CONNECT_SEL
,
0x00
},
{
}
};
static
const
struct
hda_verb
alc889_eapd_verbs
[]
=
{
{
0x14
,
AC_VERB_SET_EAPD_BTLENABLE
,
2
},
{
0x15
,
AC_VERB_SET_EAPD_BTLENABLE
,
2
},
{
}
};
#define alc883_init_verbs alc882_base_init_verbs
/* Mac Pro test */
...
...
@@ -889,19 +800,6 @@ static const struct snd_kcontrol_new alc883_3ST_6ch_mixer[] = {
{
}
/* end */
};
static
const
struct
snd_kcontrol_new
alc888_acer_aspire_6530_mixer
[]
=
{
HDA_CODEC_VOLUME
(
"Front Playback Volume"
,
0x0c
,
0x0
,
HDA_OUTPUT
),
HDA_CODEC_VOLUME
(
"LFE Playback Volume"
,
0x0f
,
0x0
,
HDA_OUTPUT
),
HDA_CODEC_VOLUME
(
"Line Playback Volume"
,
0x0b
,
0x02
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"Line Playback Switch"
,
0x0b
,
0x02
,
HDA_INPUT
),
HDA_CODEC_VOLUME
(
"CD Playback Volume"
,
0x0b
,
0x04
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"CD Playback Switch"
,
0x0b
,
0x04
,
HDA_INPUT
),
HDA_CODEC_VOLUME
(
"Mic Playback Volume"
,
0x0b
,
0x0
,
HDA_INPUT
),
HDA_CODEC_VOLUME
(
"Mic Boost Volume"
,
0x18
,
0
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"Mic Playback Switch"
,
0x0b
,
0x0
,
HDA_INPUT
),
{
}
/* end */
};
static
const
struct
snd_kcontrol_new
alc889A_mb31_mixer
[]
=
{
/* Output mixers */
HDA_CODEC_VOLUME
(
"Front Playback Volume"
,
0x0c
,
0x00
,
HDA_OUTPUT
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录