Skip to content

iio: vncl4000: Enable runtime pm for vcnl4200/4040

Guido Günther linux-iio lkml 3 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

---------------
- Based on review feedback from Jonathan Cameron
https://lore.kernel.org/linux-iio/[email protected]/T/#m80668f77cb45cea3973b3609ebdce5bba351ed50
- Fix missing return statement
- Only update timestamp on power on
- simplify returns from vcnl4200_runtime_suspend
- simplify return from vcnl4000_init

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2iio: vcnl4000: Use a single return when getting IIO_CHAN_INFO_RAWdrivers/iio/light/vcnl4000.c+8 -71 reply
2/2iio: vncl4000: Enable runtime pm for vcnl4200/4040drivers/iio/light/vcnl4000.c+117 -121 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [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/[email protected]/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/[email protected]/
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(-)
Signature · 1 line
2.23.0