git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e22f47
)
iio: bmc150: exit early if event / trigger state is not changed
author
Octavian Purdila
<octavian.purdila@intel.com>
Sat, 31 Jan 2015 00:00:05 +0000
(
02:00
+0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 8 Feb 2015 10:40:25 +0000
(10:40 +0000)
Previous of this patch the check was only done if we enabled the event
and it was already enabled. We can do the same if the event is
disabled and we want to disable it.
The patch also adds the same check on the trigger code.
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/bmc150-accel.c
patch
|
blob
|
history
diff --cc
drivers/iio/accel/bmc150-accel.c
Simple merge