hwmon: (intel-m10-bmc-hwmon) Fix multiplier for N6000 board power sensor
BugLink: https://bugs.launchpad.net/bugs/2073603
[ Upstream commit 027a44fedd55fbdf1d45603894634acd960ad04b ]
The Intel N6000 BMC outputs the board power value in milliwatt, whereas
the hwmon sysfs interface must provide power values in microwatt.
Fixes: e1983220ae ("hwmon: intel-m10-bmc-hwmon: Add N6000 sensors")
Signed-off-by: Peter Colberg <peter.colberg@intel.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Link: https://lore.kernel.org/r/20240521181246.683833-1-peter.colberg@intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
This commit is contained in:
committed by
Roxana Nicolescu
parent
7484f1d793
commit
463a4a8d0a
@@ -429,7 +429,7 @@ static const struct m10bmc_sdata n6000bmc_curr_tbl[] = {
|
||||
};
|
||||
|
||||
static const struct m10bmc_sdata n6000bmc_power_tbl[] = {
|
||||
{ 0x724, 0x0, 0x0, 0x0, 0x0, 1, "Board Power" },
|
||||
{ 0x724, 0x0, 0x0, 0x0, 0x0, 1000, "Board Power" },
|
||||
};
|
||||
|
||||
static const struct hwmon_channel_info * const n6000bmc_hinfo[] = {
|
||||
|
||||
Reference in New Issue
Block a user