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
Kirill Smelkov
linux
Commits
b2573eb5
Commit
b2573eb5
authored
Feb 06, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into for-linus
parents
9be260a6
4a5a4c56
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.c
+5
-4
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_codec.h
+1
-0
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+4
-0
No files found.
sound/pci/hda/hda_codec.c
View file @
b2573eb5
...
...
@@ -487,7 +487,6 @@ int /*__devinit*/ snd_hda_bus_new(struct snd_card *card,
{
struct
hda_bus
*
bus
;
int
err
;
char
qname
[
8
];
static
struct
snd_device_ops
dev_ops
=
{
.
dev_register
=
snd_hda_bus_dev_register
,
.
dev_free
=
snd_hda_bus_dev_free
,
...
...
@@ -517,10 +516,12 @@ int /*__devinit*/ snd_hda_bus_new(struct snd_card *card,
mutex_init
(
&
bus
->
cmd_mutex
);
INIT_LIST_HEAD
(
&
bus
->
codec_list
);
snprintf
(
qname
,
sizeof
(
qname
),
"hda%d"
,
card
->
number
);
bus
->
workq
=
create_workqueue
(
qname
);
snprintf
(
bus
->
workq_name
,
sizeof
(
bus
->
workq_name
),
"hd-audio%d"
,
card
->
number
);
bus
->
workq
=
create_singlethread_workqueue
(
bus
->
workq_name
);
if
(
!
bus
->
workq
)
{
snd_printk
(
KERN_ERR
"cannot create workqueue %s
\n
"
,
qname
);
snd_printk
(
KERN_ERR
"cannot create workqueue %s
\n
"
,
bus
->
workq_name
);
kfree
(
bus
);
return
-
ENOMEM
;
}
...
...
sound/pci/hda/hda_codec.h
View file @
b2573eb5
...
...
@@ -614,6 +614,7 @@ struct hda_bus {
/* unsolicited event queue */
struct
hda_bus_unsolicited
*
unsol
;
char
workq_name
[
16
];
struct
workqueue_struct
*
workq
;
/* common workqueue for codecs */
/* assigned PCMs */
...
...
sound/pci/hda/patch_realtek.c
View file @
b2573eb5
...
...
@@ -1037,6 +1037,7 @@ static void alc_subsystem_id(struct hda_codec *codec,
case
0x10ec0267
:
case
0x10ec0268
:
case
0x10ec0269
:
case
0x10ec0272
:
case
0x10ec0660
:
case
0x10ec0662
:
case
0x10ec0663
:
...
...
@@ -1065,6 +1066,7 @@ static void alc_subsystem_id(struct hda_codec *codec,
case
0x10ec0882
:
case
0x10ec0883
:
case
0x10ec0885
:
case
0x10ec0887
:
case
0x10ec0889
:
snd_hda_codec_write
(
codec
,
0x20
,
0
,
AC_VERB_SET_COEF_INDEX
,
7
);
...
...
@@ -8515,6 +8517,8 @@ static struct snd_pci_quirk alc883_cfg_tbl[] = {
SND_PCI_QUIRK
(
0x1558
,
0
,
"Clevo laptop"
,
ALC883_LAPTOP_EAPD
),
SND_PCI_QUIRK
(
0x15d9
,
0x8780
,
"Supermicro PDSBA"
,
ALC883_3ST_6ch
),
SND_PCI_QUIRK
(
0x161f
,
0x2054
,
"Medion laptop"
,
ALC883_MEDION
),
SND_PCI_QUIRK
(
0x1734
,
0x1107
,
"FSC AMILO Xi2550"
,
ALC883_FUJITSU_PI2515
),
SND_PCI_QUIRK
(
0x1734
,
0x1108
,
"Fujitsu AMILO Pi2515"
,
ALC883_FUJITSU_PI2515
),
SND_PCI_QUIRK
(
0x1734
,
0x113d
,
"Fujitsu AMILO Xa3530"
,
ALC888_FUJITSU_XA3530
),
...
...
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