[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f9291b90-c9c0-4114-8f1c-28a44af6c49c@roeck-us.net>
Date: Sun, 10 Sep 2023 17:49:26 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Armin Wolf <W_Armin@....de>
Cc: hdegoede@...hat.com, jdelvare@...e.com,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/5] hwmon: (sch5627) Disallow write access if virtual
registers are locked
On Thu, Sep 07, 2023 at 07:26:36AM +0200, Armin Wolf wrote:
> When the lock bit inside SCH5627_REG_CTRL is set, then the virtual
> registers become read-only until the next power cycle.
> Disallow write access to those registers in such a case.
>
> Tested on a Fujitsu Esprimo P720.
>
> Fixes: aa9f833dfc12 ("hwmon: (sch5627) Add pwmX_auto_channels_temp support")
> Signed-off-by: Armin Wolf <W_Armin@....de>
Applied.
Thanks,
Guenter
Powered by blists - more mailing lists