aboutsummaryrefslogtreecommitdiff
path: root/security/keys
diff options
context:
space:
mode:
authorYuji Shimada <shimada-yxb@necst.nec.co.jp>2009-04-06 10:24:21 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-04-06 11:27:58 -0700
commit0cdbe30f0b04466a1fee11b81b3667bd1b982549 (patch)
tree8efc02bd7f6fe405471eb343d936d384727cfea1 /security/keys
parent5446a6bdb51e71da7a203e395b0b4c668d559a3a (diff)
PCI: don't corrupt enable_cnt when doing manual resource alignment
This patch fixes breakage of of enable_cnt in quirk_resource_alignment. Currently, quirk_resource_alignment calls pci_disable_device. pci_disable_device decrements enable_cnt, so that enable_cnt becomes -1. The patch disables memory decoding, writing command register directly. So enable_cnt is not broken. Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions