diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-11-05 15:16:36 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-11-11 09:38:14 -0800 |
commit | 97c145f7c87453cec90e91238fba5fe2c1561b32 (patch) | |
tree | e69b486547e713b6a9358ad780dcdf7b697a7912 /sound/drivers/mpu401 | |
parent | 3b519e4ea618b6943a82931630872907f9ac2c2b (diff) |
PCI: read current power state at enable time
When we enable a PCI device, we avoid doing a lot of the initial setup
work if the device's enable count is non-zero. If we don't fetch the
power state though, we may later fail to set up MSI due to the unknown
status. So pick it up before we short circuit the rest due to a
pre-existing enable or mismatched enable/disable pair (as happens with
VGA devices, which are special in a special way).
Tested-by: Jesse Brandeburg <jesse.brandeburg@gmail.com>
Reported-by: Dave Airlie <airlied@linux.ie>
Tested-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'sound/drivers/mpu401')
0 files changed, 0 insertions, 0 deletions