diff options
author | 2016-01-04 15:55:38 +0800 | |
---|---|---|
committer | 2016-01-07 11:22:46 +0200 | |
commit | 7683fe016c010a20b5f2d88b7d8dad198506f5f7 (patch) | |
tree | ba52f44e3b2d3185e435fc7c77784f5c94b41e16 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | brcmfmac: introduce module parameter to force successful probe (diff) | |
download | linux-dev-7683fe016c010a20b5f2d88b7d8dad198506f5f7.tar.xz linux-dev-7683fe016c010a20b5f2d88b7d8dad198506f5f7.zip |
rt2x00pci: Disable memory-write-invalidate when the driver exits
The driver calls pci_set_mwi to enable memory-write-invalidate when it
is initialized, but does not call pci_clear_mwi when it is removed. Many
other drivers calls pci_clear_mwi when pci_set_mwi is called, such as
r8169, 8139cp and e1000.
This patch adds pci_clear_mwi in error handling and removal procedure,
which can fix the problem.
Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions