Sound: hda - Restore PCI configuration space with interrupts off
commit32e176c14d7a425b681ef003c9061001ddb7fc7b
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 6 Dec 2008 14:09:08 +0000 (6 15:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 7 Dec 2008 09:45:32 +0000 (7 10:45 +0100)
treea1b7f93172e5739e741d8129f80a6ce35530280f
parent061e41fdb5047b1fb161e89664057835935ca1d2
Sound: hda - Restore PCI configuration space with interrupts off

Move the restoration of the standard PCI configuration registers
in the snd_hda_intel driver to a ->resume_early() callback executed
with interrupts disabled, since doing that with interrupts enabled
may lead to problems in some cases.

This patch addresses the regression from 2.6.26 tracked as
http://bugzilla.kernel.org/show_bug.cgi?id=12121 .

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c