]> 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)
commit25677c10f397de99904b4c4b0aca18928363ee7b
treef9799e11aa602edd4715fa9dbd66adeead039fbd
parent41d282f967e2f73f3092f7fcc25d4ad2f11f6ca6
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: e62ecd718691 ("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