On 08/31/11 11:57, michael.hennerich@xxxxxxxxxx wrote: > From: Michael Hennerich <michael.hennerich@xxxxxxxxxx> > oops, another clanger from me. Good spot and thanks. > > Signed-off-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx> merged > --- > drivers/staging/iio/adc/ad7291.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/staging/iio/adc/ad7291.c b/drivers/staging/iio/adc/ad7291.c > index 2fafca7..7dfdc27 100644 > --- a/drivers/staging/iio/adc/ad7291.c > +++ b/drivers/staging/iio/adc/ad7291.c > @@ -417,7 +417,7 @@ static int ad7291_write_event_config(struct iio_dev *indio_dev, > ~(1 << IIO_EVENT_CODE_EXTRACT_NUM(event_code)); > else if (state && (!(chip->c_mask & > (1 << IIO_EVENT_CODE_EXTRACT_NUM(event_code))))) > - chip->c_mask &= > + chip->c_mask |= > (1 << IIO_EVENT_CODE_EXTRACT_NUM(event_code)); > else > break; -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html