Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
efd4b76e
Commit
efd4b76e
authored
Jun 03, 2014
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-linus' into for-next
Just to catch up a few small fixes for HD-audio and DMA engine.
parents
c8109b57
192a98e2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+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
No files found.
sound/core/pcm_dmaengine.c
View file @
efd4b76e
...
@@ -182,6 +182,7 @@ static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream)
...
@@ -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
)
int
snd_dmaengine_pcm_trigger
(
struct
snd_pcm_substream
*
substream
,
int
cmd
)
{
{
struct
dmaengine_pcm_runtime_data
*
prtd
=
substream_to_prtd
(
substream
);
struct
dmaengine_pcm_runtime_data
*
prtd
=
substream_to_prtd
(
substream
);
struct
snd_pcm_runtime
*
runtime
=
substream
->
runtime
;
int
ret
;
int
ret
;
switch
(
cmd
)
{
switch
(
cmd
)
{
...
@@ -196,6 +197,11 @@ int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
...
@@ -196,6 +197,11 @@ int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
dmaengine_resume
(
prtd
->
dma_chan
);
dmaengine_resume
(
prtd
->
dma_chan
);
break
;
break
;
case
SNDRV_PCM_TRIGGER_SUSPEND
:
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
:
case
SNDRV_PCM_TRIGGER_PAUSE_PUSH
:
dmaengine_pause
(
prtd
->
dma_chan
);
dmaengine_pause
(
prtd
->
dma_chan
);
break
;
break
;
...
...
sound/pci/hda/hda_intel.c
View file @
efd4b76e
...
@@ -1743,6 +1743,9 @@ static const struct pci_device_id azx_ids[] = {
...
@@ -1743,6 +1743,9 @@ static const struct pci_device_id azx_ids[] = {
/* Lynx Point */
/* Lynx Point */
{
PCI_DEVICE
(
0x8086
,
0x8c20
),
{
PCI_DEVICE
(
0x8086
,
0x8c20
),
.
driver_data
=
AZX_DRIVER_PCH
|
AZX_DCAPS_INTEL_PCH
},
.
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 */
/* Wellsburg */
{
PCI_DEVICE
(
0x8086
,
0x8d20
),
{
PCI_DEVICE
(
0x8086
,
0x8d20
),
.
driver_data
=
AZX_DRIVER_PCH
|
AZX_DCAPS_INTEL_PCH
},
.
driver_data
=
AZX_DRIVER_PCH
|
AZX_DCAPS_INTEL_PCH
},
...
...
sound/pci/hda/patch_analog.c
View file @
efd4b76e
...
@@ -332,6 +332,7 @@ static const struct hda_fixup ad1986a_fixups[] = {
...
@@ -332,6 +332,7 @@ static const struct hda_fixup ad1986a_fixups[] = {
static
const
struct
snd_pci_quirk
ad1986a_fixup_tbl
[]
=
{
static
const
struct
snd_pci_quirk
ad1986a_fixup_tbl
[]
=
{
SND_PCI_QUIRK
(
0x103c
,
0x30af
,
"HP B2800"
,
AD1986A_FIXUP_LAPTOP_IMIC
),
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
,
0x8100
,
"ASUS P5"
,
AD1986A_FIXUP_3STACK
),
SND_PCI_QUIRK_MASK
(
0x1043
,
0xff00
,
0x8200
,
"ASUS M2"
,
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
),
SND_PCI_QUIRK
(
0x10de
,
0xcb84
,
"ASUS A8N-VM"
,
AD1986A_FIXUP_3STACK
),
...
...
sound/pci/hda/patch_realtek.c
View file @
efd4b76e
...
@@ -1649,12 +1649,10 @@ static const struct hda_fixup alc260_fixups[] = {
...
@@ -1649,12 +1649,10 @@ static const struct hda_fixup alc260_fixups[] = {
[
ALC260_FIXUP_COEF
]
=
{
[
ALC260_FIXUP_COEF
]
=
{
.
type
=
HDA_FIXUP_VERBS
,
.
type
=
HDA_FIXUP_VERBS
,
.
v
.
verbs
=
(
const
struct
hda_verb
[])
{
.
v
.
verbs
=
(
const
struct
hda_verb
[])
{
{
0x
20
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
1a
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
20
,
AC_VERB_SET_PROC_COEF
,
0x3040
},
{
0x
1a
,
AC_VERB_SET_PROC_COEF
,
0x3040
},
{
}
{
}
},
},
.
chained
=
true
,
.
chain_id
=
ALC260_FIXUP_HP_PIN_0F
,
},
},
[
ALC260_FIXUP_GPIO1
]
=
{
[
ALC260_FIXUP_GPIO1
]
=
{
.
type
=
HDA_FIXUP_VERBS
,
.
type
=
HDA_FIXUP_VERBS
,
...
@@ -1669,8 +1667,8 @@ static const struct hda_fixup alc260_fixups[] = {
...
@@ -1669,8 +1667,8 @@ static const struct hda_fixup alc260_fixups[] = {
[
ALC260_FIXUP_REPLACER
]
=
{
[
ALC260_FIXUP_REPLACER
]
=
{
.
type
=
HDA_FIXUP_VERBS
,
.
type
=
HDA_FIXUP_VERBS
,
.
v
.
verbs
=
(
const
struct
hda_verb
[])
{
.
v
.
verbs
=
(
const
struct
hda_verb
[])
{
{
0x
20
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
1a
,
AC_VERB_SET_COEF_INDEX
,
0x07
},
{
0x
20
,
AC_VERB_SET_PROC_COEF
,
0x3050
},
{
0x
1a
,
AC_VERB_SET_PROC_COEF
,
0x3050
},
{
}
{
}
},
},
.
chained
=
true
,
.
chained
=
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment