lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE3SzaRMOFNxciCDQM5dUMTTONgAD8o7u-4hX=TDnLXs1wQ-hA@mail.gmail.com>
Date: Mon, 28 Jul 2025 01:42:19 +0530
From: Akshay Jindal <akshayaj.lkd@...il.com>
To: anshulusr@...il.com, jic23@...nel.org, dlechner@...libre.com, 
	nuno.sa@...log.com, andy@...nel.org
Cc: shuah@...nel.org, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] iio: light: ltr390: Add conditional data freshness
 check with sysfs control

On Fri, Jul 25, 2025 at 12:24 AM Akshay Jindal <akshayaj.lkd@...il.com> wrote:
>
> I agree that this will break the user behaviour.
> Before dumping this off, I wanted to explore an idea.
> What if this remains disabled by default, i.e. data->data_fresh_check_en = 0;
> So this way the regular sensor read_data calls will not break, and
> based on demand,
> the application can configure the driver to check for data freshness,
> by toggling the sysfs attribute to 1.
> i.e. echo 1 | sudo tee /sys/bus/iio/devices/iio\:device0/data_fresh_check_enable
>
Hi,
Is there any feedback on this?

Thanks,
Akshay.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ