Re: [PATCH] iio: light: vcnl4035: Fix reversed ALS mode bit

From: Alexander Sarmanow

Date: Mon Oct 19 2026 - 04:09:04 EST


On Sun, Oct 18, 2026 at 12:28:22AM +0100, Jonathan Cameron wrote:
> Mystifying how this worked for original contributor. Maybe it's one of
> those last minute edits that went wrong.

I can imagine that during the time the system powers the ALS down, the
actual sensor keeps measuring and writing to their internal buffer. The
moment of a drivers read it will get the recent sample with "just" a
delay resulting from runtime pm settings. That delay is probably not very
noticeable in practice. I think that way nobody noticed it.

Thank you,
Alexander