commit | 2a1e3b932c5606e2b3671b82eb63929937eb1e0b | [log] [tgz] |
---|---|---|
author | Even Xu <even.xu@intel.com> | Fri Oct 21 15:48:40 2016 -0700 |
committer | Jiri Kosina <jkosina@suse.cz> | Sat Nov 05 15:57:38 2016 +0100 |
tree | 8ba12a61d738607ee435587d70a8afa08ee9f4f3 | |
parent | 8b2979febc134f038f3c8396cb04893f96e03b4f [diff] |
HID: intel-ish-hid: Fix driver reinit failure When built as a module, modprobe followed by rmmod can fail because DMA was still active. So to fix this, DMA needs to be disabled during module exit. This change disables DMA during modules exit and change the ISH PCI device status to D3. Signed-off-by: Even Xu <even.xu@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>