[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220629225843.332453-1-willmcvicker@google.com>
Date: Wed, 29 Jun 2022 22:58:40 +0000
From: Will McVicker <willmcvicker@...gle.com>
To: stable@...r.kernel.org, Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Zhang Rui <rui.zhang@...el.com>,
Eduardo Valentin <edubezval@...il.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: kernel-team@...roid.com, Will McVicker <willmcvicker@...gle.com>,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: [PATCH 4.19 v1 0/2] Fixes for thermal hwmon registration
Hi All,
These two patches fix issues with thermal hwmon registration on 4.19.
The upstream commit ddaefa209c4a ("hwmon: Make chip parameter for
with_info API mandatory") forces the chip parameter to be mandatory
which breaks thermal subsystem devices from probing. These fixes were
pulled into 5.4, but missed from 4.19. I have verified them on Pixel
5 with the 4.19 kernel.
Thanks,
Will
Guenter Roeck (2):
hwmon: Introduce hwmon_device_register_for_thermal
thermal/drivers/thermal_hwmon: Use hwmon_device_register_for_thermal()
drivers/hwmon/hwmon.c | 25 +++++++++++++++++++++++++
drivers/thermal/thermal_hwmon.c | 4 ++--
include/linux/hwmon.h | 3 +++
3 files changed, 30 insertions(+), 2 deletions(-)
--
2.37.0.rc0.161.g10f37bed90-goog
Powered by blists - more mailing lists