summaryrefslogtreecommitdiff
path: root/drivers/pci/host/pci-layerscape.c
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2015-01-31 00:00:05 (GMT)
committerJonathan Cameron <jic23@kernel.org>2015-02-08 10:40:25 (GMT)
commit14ee64f438b8e85d1c78939d301956d9a775cc9a (patch)
treee73c5e7181cd6f60aeadcb5abad2345f338fee2c /drivers/pci/host/pci-layerscape.c
parent8e22f477e1432ace88b762f5f66e0f96631a1462 (diff)
downloadlinux-14ee64f438b8e85d1c78939d301956d9a775cc9a.tar.xz
iio: bmc150: exit early if event / trigger state is not changed
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>
Diffstat (limited to 'drivers/pci/host/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions