[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <94e512e0-8105-4123-b9be-8a9805f7cfca@roeck-us.net>
Date: Thu, 26 Dec 2024 13:05:18 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: tjakobi@...h.uni-bielefeld.de
Cc: Derek John Clark <derekjohn.clark@...il.com>,
Joaquín Ignacio Aramendía <samsagax@...il.com>,
Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/4] hwmon: (oxp-sensors) Cache state of PWM enable mode
On Thu, Dec 26, 2024 at 06:00:19PM +0100, tjakobi@...h.uni-bielefeld.de wrote:
> From: Tobias Jakobi <tjakobi@...h.uni-bielefeld.de>
>
> The driver is in full control of the enable mode, so we
> don't need to read it from HW every single time.
>
That is not a reason for adding that much additional code.
What is the problem that is being solved, and why is it worth that much
additional code ?
Plus, again, all those runtime feature checks in attribute handling
code are completely wrong.
Guenter
Powered by blists - more mailing lists