Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
efd4b76e
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看板
提交
efd4b76e
编写于
6月 03, 2014
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-linus' into for-next
Just to catch up a few small fixes for HD-audio and DMA engine.
上级
c8109b57
192a98e2
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
14 addition
and
6 deletion
+14
-6
sound/core/pcm_dmaengine.c
sound/core/pcm_dmaengine.c
+6
-0
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel.c
+3
-0
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_analog.c
+1
-0
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+4
-6
未找到文件。
sound/core/pcm_dmaengine.c
浏览文件 @
efd4b76e
...
...
@@ -182,6 +182,7 @@ static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream)
int
snd_dmaengine_pcm_trigger
(
struct
snd_pcm_substream
*
substream
,
int
cmd
)
{
struct
dmaengine_pcm_runtime_data
*
prtd
=
substream_to_prtd
(
substream
);
struct
snd_pcm_runtime
*
runtime
=
substream
->
runtime
;
int
ret
;
switch
(
cmd
)
{
...
...
@@ -196,6 +197,11 @@ int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
dmaengine_resume
(
prtd
->
dma_chan
);
break
;
case
SNDRV_PCM_TRIGGER_SUSPEND
:
if
(
runtime
->
info
&
SNDRV_PCM_INFO_PAUSE
)
dmaengine_pause
(
prtd
->
dma_chan
);
else
dmaengine_terminate_all
(
prtd
->
dma_chan
);
break
;
case
SNDRV_PCM_TRIGGER_PAUSE_PUSH
:
dmaengine_pause
(
prtd
->
dma_chan
);
break
;
...
...
sound/pci/hda/hda_intel.c
浏览文件 @
efd4b76e
...
...
@@ -1743,6 +1743,9 @@ static const struct pci_device_id azx_ids[] = {
/* Lynx Point */
{
PCI_DEVICE
(
0x8086
,
0x8c20
),
.
driver_data
=
AZX_DRIVER_PCH
|
AZX_DCAPS_INTEL_PCH
},
/* 9 Series */
{
PCI_DEVICE
(
0x8086
,
0x8ca0
),
.
driver_data
=
AZX_DRIVER_PCH
|
AZX_DCAPS_INTEL_PCH
},
/* Wellsburg */
{
PCI_DEVICE
(
0x8086
,
0x8d20
),
.
driver_data
=
AZX_DRIVER_PCH
|
AZX_DCAPS_INTEL_PCH
},
...
...
sound/pci/hda/patch_analog.c
浏览文件 @
efd4b76e
...
...
@@ -332,6 +332,7 @@ static const struct hda_fixup ad1986a_fixups[] = {
static
const
struct
snd_pci_quirk
ad1986a_fixup_tbl
[]
=
{
SND_PCI_QUIRK
(
0x103c
,
0x30af
,
"HP B2800"
,
AD1986A_FIXUP_LAPTOP_IMIC
),
SND_PCI_QUIRK
(
0x1043
,
0x1447
,
"ASUS A8JN"
,
AD1986A_FIXUP_EAPD
),
SND_PCI_QUIRK_MASK
(
0x1043
,
0xff00
,
0x8100
,
"ASUS P5"
,
AD1986A_FIXUP_3STACK
),
SND_PCI_QUIRK_MASK
(
0x1043
,
0xff00
,
0x8200
,
"ASUS M2"
,
AD1986A_FIXUP_3STACK
),
SND_PCI_QUIRK
(
0x10de
,
0xcb84
,
"ASUS A8N-VM"
,
AD1986A_FIXUP_3STACK
),
...
...
sound/pci/hda/patch_realtek.c
浏览文件 @
efd4b76e
...
...
@@ -1649,12 +1649,10 @@ static const struct hda_fixup alc260_fixups[] = {
[
ALC260_FIXUP_COEF
]
=
{
.
type
=
HDA_FIXUP_VERBS
,
.
v
.
verbs
=
(
const
struct
hda_verb
[])
{
{
0x
20
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
20
,
AC_VERB_SET_PROC_COEF
,
0x3040
},
{
0x
1a
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
1a
,
AC_VERB_SET_PROC_COEF
,
0x3040
},
{
}
},
.
chained
=
true
,
.
chain_id
=
ALC260_FIXUP_HP_PIN_0F
,
},
[
ALC260_FIXUP_GPIO1
]
=
{
.
type
=
HDA_FIXUP_VERBS
,
...
...
@@ -1669,8 +1667,8 @@ static const struct hda_fixup alc260_fixups[] = {
[
ALC260_FIXUP_REPLACER
]
=
{
.
type
=
HDA_FIXUP_VERBS
,
.
v
.
verbs
=
(
const
struct
hda_verb
[])
{
{
0x
20
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
20
,
AC_VERB_SET_PROC_COEF
,
0x3050
},
{
0x
1a
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
1a
,
AC_VERB_SET_PROC_COEF
,
0x3050
},
{
}
},
.
chained
=
true
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录