]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iio: accel: kxcjk-1013: Use try_reenable to ack intr
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 17 Jul 2014 00:42:00 +0000 (01:42 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 20 Jul 2014 15:24:22 +0000 (16:24 +0100)
commit59bfeaba3b62089f98952fe689d44a093275b1a0
tree38e92d2f8108d4d7f76bc641ef6eb68fb80443b9
parentf0ca974920686d53cf2330ef8abcc6e4489201d6
iio: accel: kxcjk-1013: Use try_reenable to ack intr

This chip needs explicit interrupt ack, introducing try_reenable
callback. Also removed separate function to ack interrupt as this
doesn't add any value.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/kxcjk-1013.c