summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@kernel.org>2026-11-09 15:19:27 +0000
committerGuenter Roeck <linux@roeck-us.net>2026-11-13 12:08:12 -0800
commit68af85b730f9a9e5f66c96ba861a66da08cfa5a9 (patch)
tree994228c1718c0c70aa0e0dc6eb48aa3206ebb6d5 /tools/perf/scripts/python/bin
parenta2996d892d0150d059d39c683d95d6fd7a37630a (diff)
hwmon: (scmi) Configure sensors before exposing channels
SCMI hwmon enables sensors with SENSOR_CONFIG_SET, but only after registering the hwmon device and only for temperature sensors. This leaves other sensor classes disabled on firmware that defaults sensors to off, and exposes temperature channels before they are ready. Configure each supported sensor while building the channel list, before registering the hwmon device. Leave failed sensors out of the list so their channels remain hidden, while continuing with other sensors. Cc: Marek Vasut <marek.vasut@mailbox.org> Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://sashiko.dev/#/bug/linux-4bdf9a68-22d5-4305-b684-f11fe6d1dbcc Fixes: 72804d1631b3 ("hwmon: (scmi) Enable sensors to assure they can be read") Cc: stable@vger.kernel.org Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org> Link: https://patch.msgid.link/20261109151927.1672956-2-sudeep.holla@kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions