]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: mlx-platform: Fix power cable setting for msn21xx family
authorVadim Pasternak <vadimp@mellanox.com>
Fri, 2 Feb 2018 08:45:47 +0000 (08:45 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 9 Feb 2018 01:47:51 +0000 (17:47 -0800)
commit7e734f72ee5d98deb798031a6506e4c79d681d65
treef9799e11aa602edd4715fa9dbd66adeead039fbd
parente90b2742de63fab7478f1bc840f86fd2153e3fc1
platform/x86: mlx-platform: Fix power cable setting for msn21xx family

Add dedicated structure with power cable setting for Mellanox msn21xx
family. These systems do not have a physical device for the power unit
controller. When the power cable is inserted or removed, the relevant
interrupt signal is handled, the status is updated, but no device is
associated with the signal.

Add definition for interrupt low aggregation signal. On system from
msn21xx family, low aggregation mask should be removed in order to allow
signal to hit CPU.

Fixes: c8a6f46f85c6 ("platform/x86: mlx-platform: Move module from arch/x86")
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c