Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
c949e3d6
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c949e3d6
编写于
12月 02, 2010
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/hda' into for-linus
上级
37fa84d8
0defe09c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
9 deletion
+13
-9
sound/core/oss/pcm_oss.c
sound/core/oss/pcm_oss.c
+11
-8
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
+2
-0
未找到文件。
sound/core/oss/pcm_oss.c
浏览文件 @
c949e3d6
...
...
@@ -1510,16 +1510,19 @@ static ssize_t snd_pcm_oss_read1(struct snd_pcm_substream *substream, char __use
static
int
snd_pcm_oss_reset
(
struct
snd_pcm_oss_file
*
pcm_oss_file
)
{
struct
snd_pcm_substream
*
substream
;
struct
snd_pcm_runtime
*
runtime
;
int
i
;
substream
=
pcm_oss_file
->
streams
[
SNDRV_PCM_STREAM_PLAYBACK
];
if
(
substream
!=
NULL
)
{
snd_pcm_kernel_ioctl
(
substream
,
SNDRV_PCM_IOCTL_DROP
,
NULL
);
substream
->
runtime
->
oss
.
prepare
=
1
;
}
substream
=
pcm_oss_file
->
streams
[
SNDRV_PCM_STREAM_CAPTURE
];
if
(
substream
!=
NULL
)
{
for
(
i
=
0
;
i
<
2
;
i
++
)
{
substream
=
pcm_oss_file
->
streams
[
i
];
if
(
!
substream
)
continue
;
runtime
=
substream
->
runtime
;
snd_pcm_kernel_ioctl
(
substream
,
SNDRV_PCM_IOCTL_DROP
,
NULL
);
substream
->
runtime
->
oss
.
prepare
=
1
;
runtime
->
oss
.
prepare
=
1
;
runtime
->
oss
.
buffer_used
=
0
;
runtime
->
oss
.
prev_hw_ptr_period
=
0
;
runtime
->
oss
.
period_ptr
=
0
;
}
return
0
;
}
...
...
sound/pci/hda/patch_realtek.c
浏览文件 @
c949e3d6
...
...
@@ -9865,7 +9865,6 @@ static struct snd_pci_quirk alc882_cfg_tbl[] = {
SND_PCI_QUIRK(0x17aa, 0x3bfc, "Lenovo NB0763", ALC883_LENOVO_NB0763),
SND_PCI_QUIRK(0x17aa, 0x3bfd, "Lenovo NB0763", ALC883_LENOVO_NB0763),
SND_PCI_QUIRK(0x17aa, 0x101d, "Lenovo Sky", ALC888_LENOVO_SKY),
SND_PCI_QUIRK(0x17c0, 0x4071, "MEDION MD2", ALC883_MEDION_MD2),
SND_PCI_QUIRK(0x17c0, 0x4085, "MEDION MD96630", ALC888_LENOVO_MS7195_DIG),
SND_PCI_QUIRK(0x17f2, 0x5000, "Albatron KI690-AM2", ALC883_6ST_DIG),
SND_PCI_QUIRK(0x1991, 0x5625, "Haier W66", ALC883_HAIER_W66),
...
...
sound/pci/hda/patch_sigmatel.c
浏览文件 @
c949e3d6
...
...
@@ -1627,6 +1627,8 @@ static struct snd_pci_quirk stac92hd73xx_cfg_tbl[] = {
static
struct
snd_pci_quirk
stac92hd73xx_codec_id_cfg_tbl
[]
=
{
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x02a1
,
"Alienware M17x"
,
STAC_ALIENWARE_M17X
),
SND_PCI_QUIRK
(
PCI_VENDOR_ID_DELL
,
0x043a
,
"Alienware M17x"
,
STAC_ALIENWARE_M17X
),
{}
/* terminator */
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录