Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
105ce39c
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看板
提交
105ce39c
编写于
5月 13, 2010
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/hda' into for-linus
上级
82134665
2a6ce6e5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
10 deletion
+20
-10
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_conexant.c
+5
-3
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+0
-1
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+15
-6
未找到文件。
sound/pci/hda/patch_conexant.c
浏览文件 @
105ce39c
...
...
@@ -1197,9 +1197,10 @@ static int patch_cxt5045(struct hda_codec *codec)
case
0x103c
:
case
0x1631
:
case
0x1734
:
/* HP, Packard Bell, & Fujitsu-Siemens laptops have really bad
* sound over 0dB on NID 0x17. Fix max PCM level to 0 dB
* (originally it has 0x2b steps with 0dB offset 0x14)
case
0x17aa
:
/* HP, Packard Bell, Fujitsu-Siemens & Lenovo laptops have
* really bad sound over 0dB on NID 0x17. Fix max PCM level to
* 0 dB (originally it has 0x2b steps with 0dB offset 0x14)
*/
snd_hda_override_amp_caps
(
codec
,
0x17
,
HDA_INPUT
,
(
0x14
<<
AC_AMPCAP_OFFSET_SHIFT
)
|
...
...
@@ -2846,6 +2847,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = {
SND_PCI_QUIRK
(
0x1028
,
0x0408
,
"Dell Inspiron One 19T"
,
CXT5066_IDEAPAD
),
SND_PCI_QUIRK
(
0x1179
,
0xff50
,
"Toshiba Satellite P500-PSPGSC-01800T"
,
CXT5066_OLPC_XO_1_5
),
SND_PCI_QUIRK
(
0x1179
,
0xffe0
,
"Toshiba Satellite Pro T130-15F"
,
CXT5066_OLPC_XO_1_5
),
SND_PCI_QUIRK
(
0x17aa
,
0x21b2
,
"Thinkpad X100e"
,
CXT5066_IDEAPAD
),
SND_PCI_QUIRK
(
0x17aa
,
0x3a0d
,
"ideapad"
,
CXT5066_IDEAPAD
),
{}
};
...
...
sound/pci/hda/patch_realtek.c
浏览文件 @
105ce39c
...
...
@@ -17871,7 +17871,6 @@ static struct snd_pci_quirk alc662_cfg_tbl[] = {
ALC662_3ST_6ch_DIG),
SND_PCI_QUIRK_MASK(0x1854, 0xf000, 0x2000, "ASUS H13-200x",
ALC663_ASUS_H13),
SND_PCI_QUIRK(0x8086, 0xd604, "Intel mobo", ALC662_3ST_2ch_DIG),
{}
};
...
...
sound/pci/hda/patch_sigmatel.c
浏览文件 @
105ce39c
...
...
@@ -104,6 +104,7 @@ enum {
STAC_DELL_M4_2
,
STAC_DELL_M4_3
,
STAC_HP_M4
,
STAC_HP_DV4
,
STAC_HP_DV5
,
STAC_HP_HDX
,
STAC_HP_DV4_1222NR
,
...
...
@@ -1544,11 +1545,9 @@ static unsigned int alienware_m17x_pin_configs[13] = {
0x904601b0
,
};
static
unsigned
int
intel_dg45id_pin_configs
[
1
4
]
=
{
static
unsigned
int
intel_dg45id_pin_configs
[
1
3
]
=
{
0x02214230
,
0x02A19240
,
0x01013214
,
0x01014210
,
0x01A19250
,
0x01011212
,
0x01016211
,
0x40f000f0
,
0x40f000f0
,
0x40f000f0
,
0x40f000f0
,
0x014510A0
,
0x074510B0
,
0x40f000f0
0x01A19250
,
0x01011212
,
0x01016211
};
static
unsigned
int
*
stac92hd73xx_brd_tbl
[
STAC_92HD73XX_MODELS
]
=
{
...
...
@@ -1693,6 +1692,7 @@ static unsigned int *stac92hd71bxx_brd_tbl[STAC_92HD71BXX_MODELS] = {
[
STAC_DELL_M4_2
]
=
dell_m4_2_pin_configs
,
[
STAC_DELL_M4_3
]
=
dell_m4_3_pin_configs
,
[
STAC_HP_M4
]
=
NULL
,
[
STAC_HP_DV4
]
=
NULL
,
[
STAC_HP_DV5
]
=
NULL
,
[
STAC_HP_HDX
]
=
NULL
,
[
STAC_HP_DV4_1222NR
]
=
NULL
,
...
...
@@ -1705,6 +1705,7 @@ static const char *stac92hd71bxx_models[STAC_92HD71BXX_MODELS] = {
[
STAC_DELL_M4_2
]
=
"dell-m4-2"
,
[
STAC_DELL_M4_3
]
=
"dell-m4-3"
,
[
STAC_HP_M4
]
=
"hp-m4"
,
[
STAC_HP_DV4
]
=
"hp-dv4"
,
[
STAC_HP_DV5
]
=
"hp-dv5"
,
[
STAC_HP_HDX
]
=
"hp-hdx"
,
[
STAC_HP_DV4_1222NR
]
=
"hp-dv4-1222nr"
,
...
...
@@ -1723,7 +1724,7 @@ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = {
SND_PCI_QUIRK_MASK
(
PCI_VENDOR_ID_HP
,
0xfff0
,
0x3080
,
"HP"
,
STAC_HP_DV5
),
SND_PCI_QUIRK_MASK
(
PCI_VENDOR_ID_HP
,
0xfff0
,
0x30f0
,
"HP dv4-7"
,
STAC_HP_DV
5
),
"HP dv4-7"
,
STAC_HP_DV
4
),
SND_PCI_QUIRK_MASK
(
PCI_VENDOR_ID_HP
,
0xfff0
,
0x3600
,
"HP dv4-7"
,
STAC_HP_DV5
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_HP
,
0x3610
,
...
...
@@ -4768,6 +4769,9 @@ static void set_hp_led_gpio(struct hda_codec *codec)
struct
sigmatel_spec
*
spec
=
codec
->
spec
;
unsigned
int
gpio
;
if
(
spec
->
gpio_led
)
return
;
gpio
=
snd_hda_param_read
(
codec
,
codec
->
afg
,
AC_PAR_GPIO_CAP
);
gpio
&=
AC_GPIO_IO_COUNT
;
if
(
gpio
>
3
)
...
...
@@ -5677,6 +5681,9 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
spec
->
num_smuxes
=
1
;
spec
->
num_dmuxes
=
1
;
/* fallthrough */
case
STAC_HP_DV4
:
spec
->
gpio_led
=
0x01
;
/* fallthrough */
case
STAC_HP_DV5
:
snd_hda_codec_set_pincfg
(
codec
,
0x0d
,
0x90170010
);
stac92xx_auto_set_pinctl
(
codec
,
0x0d
,
AC_PINCTL_OUT_EN
);
...
...
@@ -5690,6 +5697,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
spec
->
num_dmics
=
1
;
spec
->
num_dmuxes
=
1
;
spec
->
num_smuxes
=
1
;
spec
->
gpio_led
=
0x08
;
break
;
}
...
...
@@ -5746,7 +5754,8 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
}
/* enable bass on HP dv7 */
if
(
spec
->
board_config
==
STAC_HP_DV5
)
{
if
(
spec
->
board_config
==
STAC_HP_DV4
||
spec
->
board_config
==
STAC_HP_DV5
)
{
unsigned
int
cap
;
cap
=
snd_hda_param_read
(
codec
,
0x1
,
AC_PAR_GPIO_CAP
);
cap
&=
AC_GPIO_IO_COUNT
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录