Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-29 Thread Jonathan Cameron
On 24/05/16 12:28, Linus Walleij wrote: > On Fri, May 13, 2016 at 8:43 PM, Crestez Dan Leonard > 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

Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-29 Thread Jonathan Cameron
On 24/05/16 12:28, Linus Walleij wrote: > On Fri, May 13, 2016 at 8:43 PM, Crestez Dan Leonard > 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

Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-24 Thread Linus Walleij
On Fri, May 13, 2016 at 8:43 PM, Crestez Dan Leonard 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

Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-24 Thread Linus Walleij
On Fri, May 13, 2016 at 8:43 PM, Crestez Dan Leonard 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

Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-14 Thread Jonathan Cameron
On 13/05/16 19:43, Crestez Dan Leonard 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

Re: [PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-14 Thread Jonathan Cameron
On 13/05/16 19:43, Crestez Dan Leonard 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

[PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-13 Thread Crestez Dan Leonard
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

[PATCH 2/3] iio: st_sensors: Disable DRDY at init time

2016-05-13 Thread Crestez Dan Leonard
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