aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/icp10100.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray2020-02-22 11:49:58 -0500
committerJonathan Cameron2020-03-08 17:28:52 +0000
commitde65d0556343132222a9f48417c2bad82e3a7503 (patch)
tree21072463ace54364802dc14dec129aab0695b368 /drivers/iio/pressure/icp10100.c
parent95c72b78c3365d8f949c3ae315e7b1ded912a6da (diff)
counter: 104-quad-8: Support Filter Clock Prescaler
The ACCES 104-QUAD-8 series does active filtering on the quadrature input signals via the PC/104 bus clock (OSC 14.318 MHz). This patch exposes the filter clock prescaler available on each channel. Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure/icp10100.c')
-rw-r--r--drivers/iio/pressure/icp10100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/pressure/icp10100.c b/drivers/iio/pressure/icp10100.c
index 3ce4dc2f77ee..06cb5b63a189 100644
--- a/drivers/iio/pressure/icp10100.c
+++ b/drivers/iio/pressure/icp10100.c
@@ -364,7 +364,7 @@ static int icp10100_read_raw_measures(struct iio_dev *indio_dev,
default:
ret = -EINVAL;
break;
- };
+ }
error_release:
iio_device_release_direct_mode(indio_dev);