Commit d07cdd16 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Dell laptop lockup fix for ALSA

From: Alan Cox <alan@redhat.com>

OSS avoids the Dell lockup by not hitting the problem register (which
apparently breaks resume on a Sony laptop).  ALSA keeps a flag and uses pci
subvendor info to clear it for problem Dell laptops.  Unfortunately there
is at least one other Dell laptop which is affected.  This adds its sub
id's

[Patch from Dan Williams @ Red Hat slightly reformatted by me]
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent adaa6aad
...@@ -1509,6 +1509,10 @@ snd_nm256_create(snd_card_t *card, struct pci_dev *pci, ...@@ -1509,6 +1509,10 @@ snd_nm256_create(snd_card_t *card, struct pci_dev *pci,
/* this workaround will cause lock-up after suspend/resume on Sony PCG-F305 */ /* this workaround will cause lock-up after suspend/resume on Sony PCG-F305 */
chip->latitude_workaround = 0; chip->latitude_workaround = 0;
} }
if (subsystem_vendor == 0x1028 && subsystem_device == 0x0080) {
/* this workaround will cause lock-up after suspend/resume on a Dell laptop */
chip->latitude_workaround = 0;
}
snd_nm256_init_chip(chip); snd_nm256_init_chip(chip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment