[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <456be27a-1e62-4b88-a868-6238813c26c8@gmail.com>
Date: Wed, 25 Oct 2023 22:04:36 +0200
From: Aleksa Savic <savicaleksa83@...il.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: savicaleksa83@...il.com, linux-hwmon@...r.kernel.org,
leonard.anderweit@...il.com, Jack Doan <me@...kdoan.com>,
Jean Delvare <jdelvare@...e.com>,
Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] hwmon: (aquacomputer_d5next) Check if temp sensors of
legacy devices are connected
On 2023-10-25 21:41:00 GMT+02:00, Guenter Roeck wrote:
>
> Why is the sensor instantiated in the first place ?
> Returning -ENODATA for every reading is not desirable.
> If this can happen, the is_visible function should check
> for it and skip affected sensors.
>
> Guenter
>
The external temp sensor(s) are hot-swappable and can be plugged
or unplugged anytime. Similar logic already exists in
aqc_raw_event() for the sensors.
Thanks,
Aleksa
Powered by blists - more mailing lists