[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1580721204.git.agx@sigxcpu.org>
Date: Mon, 3 Feb 2020 10:17:00 +0100
From: Guido Günther <agx@...xcpu.org>
To: Tomas Novotny <tomas@...otny.cz>,
Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
"Angus Ainslie (Purism)" <angus@...ea.ca>,
Guido Günther <agx@...xcpu.org>,
Marco Felsch <m.felsch@...gutronix.de>,
Thomas Gleixner <tglx@...utronix.de>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] iio: vncl4000: Enable runtime pm for vcnl4200/4040
This is modelled after the vcnl4035 driver. For the vcnl40{0,1,2}0
we don't do anything since they use on demand measurement.
Changes from v2
---------------
- Based on review feedback from Jonathan Cameron
https://lore.kernel.org/linux-iio/cover.1580391472.git.agx@sigxcpu.org/T/#m80668f77cb45cea3973b3609ebdce5bba351ed50
- Fix missing return statement
- Only update timestamp on power on
- simplify returns from vcnl4200_runtime_suspend
- simplify return from vcnl4000_init
Changes from v1
---------------
- Based on review feedback from Tomas Novotny
https://lore.kernel.org/linux-iio/20200120182853.37a724fa@tomas.local.tbs-biometrics.cz/
Drop long wait in vcnl4000_runtime_resume but rather
use vcnl4200_{al,ps}.last_measurement to make sure
we wait long enough.
Guido Günther (2):
iio: vcnl4000: Use a single return when getting IIO_CHAN_INFO_RAW
iio: vncl4000: Enable runtime pm for vcnl4200/4040
drivers/iio/light/vcnl4000.c | 144 ++++++++++++++++++++++++++++++-----
1 file changed, 125 insertions(+), 19 deletions(-)
--
2.23.0
Powered by blists - more mailing lists