History

Merge tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai: "This contains two Oops fixes (opti9xx and HD-audio) and a simple fixup for an Acer laptop. All marked as stable patches" * tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: opti9xx: Fix conflicting driver object name ALSA: hda - Fix NULL dereference with CONFIG_SND_DYNAMIC_MINORS=n ALSA: hda - Add inverted digital mic fixup for Acer Aspire One

Linus Torvalds committed 13 years ago

Commit 936dbcc2 parents d9eda0f fb615493 files · +6 −6Browse files

Unified · Split

3 files
  1. sound/isa/opti9xx/opti92x-ad1848.c +2 −6
  2. sound/pci/hda/patch_hdmi.c +3 −0
  3. sound/pci/hda/patch_realtek.c +1 −0
sound/isa/opti9xx/opti92x-ad1848.c+2−6
@@ -173,11 +173,7 @@ MODULE_DEVICE_TABLE(pnp_card, snd_opti9xx_pnpids); · 172 unmodified lines
173173
174174 #endif /* CONFIG_PNP */
175175
176−#ifdef OPTi93X
177−#define DEV_NAME "opti93x"
178−#else
179−#define DEV_NAME "opti92x"
180−#endif
176+#define DEV_NAME KBUILD_MODNAME
181177
182178 static char * snd_opti9xx_names[] = {
183179 "unknown",
@@ -1167,7 +1163,7 @@ static int snd_opti9xx_pnp_resume(struct pnp_card_link *pcard) · 983 unmodified lines
11671163
11681164 static struct pnp_card_driver opti9xx_pnpc_driver = {
11691165 .flags = PNP_DRIVER_RES_DISABLE,
1170− .name = "opti9xx",
1166+ .name = DEV_NAME,
11711167 .id_table = snd_opti9xx_pnpids,
11721168 .probe = snd_opti9xx_pnp_probe,
11731169 .remove = snd_opti9xx_pnp_remove,
sound/pci/hda/patch_hdmi.c+3−0
@@ -1781,6 +1781,9 @@ static int generic_hdmi_build_controls(struct hda_codec *codec) · 1780 unmodified lines
17811781 struct snd_pcm_chmap *chmap;
17821782 struct snd_kcontrol *kctl;
17831783 int i;
1784+
1785+ if (!codec->pcm_info[pin_idx].pcm)
1786+ break;
17841787 err = snd_pcm_add_chmap_ctls(codec->pcm_info[pin_idx].pcm,
17851788 SNDRV_PCM_STREAM_PLAYBACK,
17861789 NULL, 0, pin_idx, &chmap);
sound/pci/hda/patch_realtek.c+1−0
@@ -4336,6 +4336,7 @@ static const struct hda_fixup alc662_fixups[] = { · 4335 unmodified lines
43364336
43374337 static const struct snd_pci_quirk alc662_fixup_tbl[] = {
43384338 SND_PCI_QUIRK(0x1019, 0x9087, "ECS", ALC662_FIXUP_ASUS_MODE2),
4339+ SND_PCI_QUIRK(0x1025, 0x022f, "Acer Aspire One", ALC662_FIXUP_INV_DMIC),
43394340 SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE),
43404341 SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE),
43414342 SND_PCI_QUIRK(0x1025, 0x0349, "eMachines eM250", ALC662_FIXUP_INV_DMIC),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t