]> git.baikalelectronics.ru Git - 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)
commit9dd9e06fc5f8bc894acabc24d79aa86a385ed3ab
tree9c00e18e9cfc5b1ac9ff85007e8d904db3f72992
parentef04c8db56c05ed2d7626aff9ee0b34bfc64eaa4
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