Skip to content

Commit 488f0fc

Browse files
vadimp-nvidiajwrdegoede
authored andcommitted
platform: mellanox: Change "reset_pwr_converter_fail" attribute
Change "reset_voltmon_upgrade_fail" attribute name to "reset_pwr_converter_fail". For systems using "mlxplat_mlxcpld_default_ng_regs_io_data", relevant CPLD 'register.bit' indicates the failure of power converter, while on older systems same 'register.bit' indicates failure of voltage monitor devices upgrade failure. Signed-off-by: Vadim Pasternak <[email protected]> Reviewed-by: Michael Shych <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent f8dacbf commit 488f0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/mlx-platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3186,7 +3186,7 @@ static struct mlxreg_core_data mlxplat_mlxcpld_default_ng_regs_io_data[] = {
31863186
.mode = 0444,
31873187
},
31883188
{
3189-
.label = "reset_voltmon_upgrade_fail",
3189+
.label = "reset_pwr_converter_fail",
31903190
.reg = MLXPLAT_CPLD_LPC_REG_RST_CAUSE2_OFFSET,
31913191
.mask = GENMASK(7, 0) & ~BIT(0),
31923192
.mode = 0444,

0 commit comments

Comments
 (0)