PCI: fully restore MSI state at resume time
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 7 Aug 2008 15:52:37 +0000 (08:52 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 7 Aug 2008 15:52:37 +0000 (08:52 -0700)
commitabad2ec98f2ef357d62026cbc3989dabf33f2435
treea2ffd7c8dd29d67dac2e78f23e26125dc413cb06
parentcb3952bf7853667a1cb3515e67f27e67f0fce9e8
PCI: fully restore MSI state at resume time

With the recent change to avoid masking MSIs using the MSI enable bit, devices
without an MSI mask bit will have their MSI capability always enabled when MSI
is in use, so we need to restore it regardless of the mask bit state.

Fixes kernel bz 11178.

Acked-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c