platform/mellanox: Fix SN5640/SN5610 LED platform data
Subsystems (2)
PATCH 1/1 platform/mellanox: Fix SN5640/SN5610 LED platform data
In SN5640/SN5610 platforms should be used XDR style LED data with predefined slot index per led_fan.
Fixes 317bbe169c46 ("platform: mellanox: mlx-platform: Add support for new Nvidia system")
Signed-off-by Oleksandr Shamray <[email protected]>
Reviewed-by Vadim Pasternak <[email protected]>
--- drivers/platform/mellanox/mlx-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/mellanox/mlx-platform.c +1 -1
@@ -7849,7 +7849,7 @@ static int __init mlxplat_dmi_ng400_hi171_matched(const struct dmi_system_id *dm mlxplat_hotplug = &mlxplat_mlxcpld_ng800_hi171_data; mlxplat_hotplug->deferred_nr = mlxplat_msn21xx_channels[MLXPLAT_CPLD_GRP_CHNL_NUM -1 ]; - mlxplat_led = &mlxplat_default_ng_led_data; + mlxplat_led = &mlxplat_xdr_led_data; mlxplat_regs_io = &mlxplat_default_ng_regs_io_data; mlxplat_fan = &mlxplat_xdr_fan_data;
Signature · 1 line
2.47.3
Ilpo Järvinen
maintainerQuoted 6 lines · Oleksandr Shamray
In SN5640/SN5610 platforms should be used XDR style LED data with predefined slot index per
led_fan.Fixes 317bbe169c46 ("platform: mellanox: mlx-platform: Add support for new Nvidia system")
Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/mellanox: Fix SN5640/SN5610 LED platform data
commit: 3113bcf4ccf06c938f0bc0c34cf6efe03278badc
--
i.