Loading drivers/staging/iio/adc/ad7291.c +18 −16 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ * is in the read mask. * * The noise-delayed bit as per datasheet suggestion is always enabled. * */ /* Loading Loading @@ -163,7 +162,8 @@ static irqreturn_t ad7291_event_handler(int irq, void *private) } static unsigned int ad7291_threshold_reg(const struct iio_chan_spec *chan, enum iio_event_direction dir, enum iio_event_info info) enum iio_event_direction dir, enum iio_event_info info) { unsigned int offset; Loading Loading @@ -244,8 +244,10 @@ static int ad7291_read_event_config(struct iio_dev *indio_dev, enum iio_event_direction dir) { struct ad7291_chip_info *chip = iio_priv(indio_dev); /* To be enabled the channel must simply be on. If any are enabled we are in continuous sampling mode */ /* * To be enabled the channel must simply be on. If any are enabled * we are in continuous sampling mode */ switch (chan->type) { case IIO_VOLTAGE: Loading Loading
drivers/staging/iio/adc/ad7291.c +18 −16 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ * is in the read mask. * * The noise-delayed bit as per datasheet suggestion is always enabled. * */ /* Loading Loading @@ -163,7 +162,8 @@ static irqreturn_t ad7291_event_handler(int irq, void *private) } static unsigned int ad7291_threshold_reg(const struct iio_chan_spec *chan, enum iio_event_direction dir, enum iio_event_info info) enum iio_event_direction dir, enum iio_event_info info) { unsigned int offset; Loading Loading @@ -244,8 +244,10 @@ static int ad7291_read_event_config(struct iio_dev *indio_dev, enum iio_event_direction dir) { struct ad7291_chip_info *chip = iio_priv(indio_dev); /* To be enabled the channel must simply be on. If any are enabled we are in continuous sampling mode */ /* * To be enabled the channel must simply be on. If any are enabled * we are in continuous sampling mode */ switch (chan->type) { case IIO_VOLTAGE: Loading