On Fri, May 13, 2016 at 8:43 PM, Crestez Dan Leonard <leonard.crestez@xxxxxxxxx> wrote: > This fixes odd behavior after reboot. > > The fact that we set the device to powerdown mode is not sufficient to > prevent DRDY being active because we might still have an unread sample. > > Even if powerdown was sufficient keeping DRDY disabled while trigger is > not active is a good idea. > > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > Cc: Giuseppe Barba <giuseppe.barba@xxxxxx> > Cc: Denis Ciocca <denis.ciocca@xxxxxx> > Signed-off-by: Crestez Dan Leonard <leonard.crestez@xxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij -- 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