OSDN Git Service

platform/x86: mlx-platform: Fix LED configuration
authorVadim Pasternak <vadimp@mellanox.com>
Thu, 15 Nov 2018 17:26:57 +0000 (17:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:20:00 +0000 (09:20 +0100)
commit0086d127f90df2cd3dccc76e259deacfa51004c6
tree2121fc2f633afd0af448dca906605cbdb8be8aeb
parent08d8ab9615c522a432a92523ed16a00d77b14d5d
platform/x86: mlx-platform: Fix LED configuration

[ Upstream commit 440f343df1996302d9a3904647ff11b689bf27bc ]

Exchange LED configuration between msn201x and next generation systems
types.

Bug was introduced when LED driver activation was added to mlx-platform.
LED configuration for the three new system MQMB7, MSN37, MSN34 was
assigned to MSN21 and vice versa. This bug affects MSN21 only and
likely requires backport to v4.19.

Fixes: 1189456b1cce ("platform/x86: mlx-platform: Add LED platform driver activation")
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/mlx-platform.c