Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
3409fcd1
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
3409fcd1
编写于
6月 17, 2011
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/hda' into topic/misc
上级
f4b1e98a
ad240941
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
8 deletion
+12
-8
sound/firewire/isight.c
sound/firewire/isight.c
+1
-0
sound/pci/hda/hda_beep.h
sound/pci/hda/hda_beep.h
+1
-1
sound/pci/hda/patch_via.c
sound/pci/hda/patch_via.c
+7
-4
sound/pci/lola/lola.c
sound/pci/lola/lola.c
+1
-1
sound/usb/6fire/pcm.c
sound/usb/6fire/pcm.c
+2
-2
未找到文件。
sound/firewire/isight.c
浏览文件 @
3409fcd1
...
...
@@ -209,6 +209,7 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle,
isight
->
packet_index
=
-
1
;
return
;
}
fw_iso_context_queue_flush
(
isight
->
context
);
if
(
++
index
>=
QUEUE_LENGTH
)
index
=
0
;
...
...
sound/pci/hda/hda_beep.h
浏览文件 @
3409fcd1
...
...
@@ -54,7 +54,7 @@ static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid)
{
return
0
;
}
void
snd_hda_detach_beep_device
(
struct
hda_codec
*
codec
)
static
inline
void
snd_hda_detach_beep_device
(
struct
hda_codec
*
codec
)
{
}
#endif
...
...
sound/pci/hda/patch_via.c
浏览文件 @
3409fcd1
...
...
@@ -832,10 +832,13 @@ static int via_hp_build(struct hda_codec *codec)
knew
->
subdevice
=
HDA_SUBDEV_NID_FLAG
|
nid
;
knew
->
private_value
=
nid
;
knew
=
via_clone_control
(
spec
,
&
via_hp_mixer
[
1
]);
if
(
knew
==
NULL
)
return
-
ENOMEM
;
knew
->
subdevice
=
side_mute_channel
(
spec
);
nid
=
side_mute_channel
(
spec
);
if
(
nid
)
{
knew
=
via_clone_control
(
spec
,
&
via_hp_mixer
[
1
]);
if
(
knew
==
NULL
)
return
-
ENOMEM
;
knew
->
subdevice
=
nid
;
}
return
0
;
}
...
...
sound/pci/lola/lola.c
浏览文件 @
3409fcd1
...
...
@@ -445,7 +445,7 @@ static void lola_reset_setups(struct lola *chip)
lola_setup_all_analog_gains
(
chip
,
PLAY
,
false
);
/* output, update */
}
static
int
lola_parse_tree
(
struct
lola
*
chip
)
static
int
__devinit
lola_parse_tree
(
struct
lola
*
chip
)
{
unsigned
int
val
;
int
nid
,
err
;
...
...
sound/usb/6fire/pcm.c
浏览文件 @
3409fcd1
...
...
@@ -395,12 +395,12 @@ static int usb6fire_pcm_open(struct snd_pcm_substream *alsa_sub)
alsa_rt
->
hw
=
pcm_hw
;
if
(
alsa_sub
->
stream
==
SNDRV_PCM_STREAM_PLAYBACK
)
{
if
(
rt
->
rate
>=
0
)
if
(
rt
->
rate
<
ARRAY_SIZE
(
rates
)
)
alsa_rt
->
hw
.
rates
=
rates_alsaid
[
rt
->
rate
];
alsa_rt
->
hw
.
channels_max
=
OUT_N_CHANNELS
;
sub
=
&
rt
->
playback
;
}
else
if
(
alsa_sub
->
stream
==
SNDRV_PCM_STREAM_CAPTURE
)
{
if
(
rt
->
rate
>=
0
)
if
(
rt
->
rate
<
ARRAY_SIZE
(
rates
)
)
alsa_rt
->
hw
.
rates
=
rates_alsaid
[
rt
->
rate
];
alsa_rt
->
hw
.
channels_max
=
IN_N_CHANNELS
;
sub
=
&
rt
->
capture
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录