On 21/06/15 22:50, Peter Meerwald wrote: > Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx> Applied to the togreg branch of iio.git. Will cause some trivial fuzz when the fix before turns up. J > --- > drivers/iio/temperature/tmp006.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/iio/temperature/tmp006.c b/drivers/iio/temperature/tmp006.c > index 7a80509..a107087 100644 > --- a/drivers/iio/temperature/tmp006.c > +++ b/drivers/iio/temperature/tmp006.c > @@ -36,9 +36,9 @@ > #define TMP006_CONFIG_DRDY_EN BIT(8) > #define TMP006_CONFIG_DRDY BIT(7) > > -#define TMP006_CONFIG_MOD_MASK 0x7000 > +#define TMP006_CONFIG_MOD_MASK GENMASK(14, 12) > > -#define TMP006_CONFIG_CR_MASK 0x0e00 > +#define TMP006_CONFIG_CR_MASK GENMASK(11, 9) > #define TMP006_CONFIG_CR_SHIFT 9 > > #define MANUFACTURER_MAGIC 0x5449 > -- 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