Re: [PATCH] iio: humidity: hts221: Fix sensor reads after resume

2018-05-06 Thread Shrirang Bagul
On Sun, 2018-05-06 at 17:19 +0100, Jonathan Cameron wrote: > On Mon, 30 Apr 2018 12:25:46 +0800 > Shrirang Bagul wrote: > > > CTRL1 register (ODR & BDU settings) gets reset after system comes back > > from suspend, causing subsequent reads from the sensor to fail. > > > > This patch restores the

Re: [PATCH] iio: humidity: hts221: Fix sensor reads after resume

2018-05-06 Thread Jonathan Cameron
On Mon, 30 Apr 2018 12:25:46 +0800 Shrirang Bagul wrote: > CTRL1 register (ODR & BDU settings) gets reset after system comes back > from suspend, causing subsequent reads from the sensor to fail. > > This patch restores the CTRL1 register after resume. > > Based on: > git://git.kernel.org/pub/s

[PATCH] iio: humidity: hts221: Fix sensor reads after resume

2018-04-29 Thread Shrirang Bagul
CTRL1 register (ODR & BDU settings) gets reset after system comes back from suspend, causing subsequent reads from the sensor to fail. This patch restores the CTRL1 register after resume. Based on: git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git iio-fixes-for-4.14b Since 4.17.rc1, th