tangled
alpha
login
or
join now
tjh.dev
/
kernel
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge branch 'fix/hda' into for-linus
Takashi Iwai
17 years ago
b2573eb5
9be260a6
+10
-4
3 changed files
expand all
collapse all
unified
split
sound
pci
hda
hda_codec.c
hda_codec.h
patch_realtek.c
+5
-4
sound/pci/hda/hda_codec.c
···
487
487
{
488
488
struct hda_bus *bus;
489
489
int err;
490
490
-
char qname[8];
491
490
static struct snd_device_ops dev_ops = {
492
491
.dev_register = snd_hda_bus_dev_register,
493
492
.dev_free = snd_hda_bus_dev_free,
···
516
517
mutex_init(&bus->cmd_mutex);
517
518
INIT_LIST_HEAD(&bus->codec_list);
518
519
519
519
-
snprintf(qname, sizeof(qname), "hda%d", card->number);
520
520
-
bus->workq = create_workqueue(qname);
520
520
+
snprintf(bus->workq_name, sizeof(bus->workq_name),
521
521
+
"hd-audio%d", card->number);
522
522
+
bus->workq = create_singlethread_workqueue(bus->workq_name);
521
523
if (!bus->workq) {
522
522
-
snd_printk(KERN_ERR "cannot create workqueue %s\n", qname);
524
524
+
snd_printk(KERN_ERR "cannot create workqueue %s\n",
525
525
+
bus->workq_name);
523
526
kfree(bus);
524
527
return -ENOMEM;
525
528
}
+1
sound/pci/hda/hda_codec.h
···
614
614
615
615
/* unsolicited event queue */
616
616
struct hda_bus_unsolicited *unsol;
617
617
+
char workq_name[16];
617
618
struct workqueue_struct *workq; /* common workqueue for codecs */
618
619
619
620
/* assigned PCMs */
+4
sound/pci/hda/patch_realtek.c
···
1037
1037
case 0x10ec0267:
1038
1038
case 0x10ec0268:
1039
1039
case 0x10ec0269:
1040
1040
+
case 0x10ec0272:
1040
1041
case 0x10ec0660:
1041
1042
case 0x10ec0662:
1042
1043
case 0x10ec0663:
···
1066
1065
case 0x10ec0882:
1067
1066
case 0x10ec0883:
1068
1067
case 0x10ec0885:
1068
1068
+
case 0x10ec0887:
1069
1069
case 0x10ec0889:
1070
1070
snd_hda_codec_write(codec, 0x20, 0,
1071
1071
AC_VERB_SET_COEF_INDEX, 7);
···
8517
8515
SND_PCI_QUIRK(0x1558, 0, "Clevo laptop", ALC883_LAPTOP_EAPD),
8518
8516
SND_PCI_QUIRK(0x15d9, 0x8780, "Supermicro PDSBA", ALC883_3ST_6ch),
8519
8517
SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_MEDION),
8518
8518
+
SND_PCI_QUIRK(0x1734, 0x1107, "FSC AMILO Xi2550",
8519
8519
+
ALC883_FUJITSU_PI2515),
8520
8520
SND_PCI_QUIRK(0x1734, 0x1108, "Fujitsu AMILO Pi2515", ALC883_FUJITSU_PI2515),
8521
8521
SND_PCI_QUIRK(0x1734, 0x113d, "Fujitsu AMILO Xa3530",
8522
8522
ALC888_FUJITSU_XA3530),