Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
5058cbf2
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看板
提交
5058cbf2
编写于
12月 23, 2010
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/misc' into for-linus
上级
5aad6c5f
87a1c8aa
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
11 addition
and
6 deletion
+11
-6
sound/core/pcm_lib.c
sound/core/pcm_lib.c
+7
-3
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+4
-3
未找到文件。
sound/core/pcm_lib.c
浏览文件 @
5058cbf2
...
...
@@ -1070,8 +1070,10 @@ int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond,
struct
snd_pcm_hw_rule
*
new
;
unsigned
int
new_rules
=
constrs
->
rules_all
+
16
;
new
=
kcalloc
(
new_rules
,
sizeof
(
*
c
),
GFP_KERNEL
);
if
(
!
new
)
if
(
!
new
)
{
va_end
(
args
);
return
-
ENOMEM
;
}
if
(
constrs
->
rules
)
{
memcpy
(
new
,
constrs
->
rules
,
constrs
->
rules_num
*
sizeof
(
*
c
));
...
...
@@ -1087,8 +1089,10 @@ int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond,
c
->
private
=
private
;
k
=
0
;
while
(
1
)
{
if
(
snd_BUG_ON
(
k
>=
ARRAY_SIZE
(
c
->
deps
)))
if
(
snd_BUG_ON
(
k
>=
ARRAY_SIZE
(
c
->
deps
)))
{
va_end
(
args
);
return
-
EINVAL
;
}
c
->
deps
[
k
++
]
=
dep
;
if
(
dep
<
0
)
break
;
...
...
sound/pci/hda/patch_realtek.c
浏览文件 @
5058cbf2
...
...
@@ -14807,7 +14807,7 @@ static int alc269_resume(struct hda_codec *codec)
enum {
ALC269_FIXUP_SONY_VAIO,
ALC269_FIXUP_DELL_M101Z,
ALC269_FIXUP_
LENOVO_EDGE14
,
ALC269_FIXUP_
SKU_IGNORE
,
ALC269_FIXUP_ASUS_G73JW,
};
...
...
@@ -14826,7 +14826,7 @@ static const struct alc_fixup alc269_fixups[] = {
{}
}
},
[ALC269_FIXUP_
LENOVO_EDGE14
] = {
[ALC269_FIXUP_
SKU_IGNORE
] = {
.sku = ALC_FIXUP_SKU_IGNORE,
},
[ALC269_FIXUP_ASUS_G73JW] = {
...
...
@@ -14840,7 +14840,8 @@ static const struct alc_fixup alc269_fixups[] = {
static struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_LENOVO_EDGE14),
SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),
SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
{}
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录