]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
HID: intel-ish-hid: Move DMA disable code to new function
authorEven Xu <even.xu@intel.com>
Fri, 21 Oct 2016 22:48:39 +0000 (15:48 -0700)
committerJiri Kosina <jkosina@suse.cz>
Sat, 5 Nov 2016 14:57:37 +0000 (15:57 +0100)
commit8b2979febc134f038f3c8396cb04893f96e03b4f
tree9c00e18e9cfc5b1ac9ff85007e8d904db3f72992
parentc2ed83f5426624beda0ecfcb17df033fe4bff7f7
HID: intel-ish-hid: Move DMA disable code to new function

Add a new function ish_disable_dma() and move DMA disable operations
here, so that this functionality can be reused.

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>
drivers/hid/intel-ish-hid/ipc/ipc.c