platform: mellanox: mlx-platform: Modify health and power hotplug action
authorVadim Pasternak <vadimp@nvidia.com>
Tue, 22 Aug 2023 11:34:39 +0000 (11:34 +0000)
committerHans de Goede <hdegoede@redhat.com>
Wed, 23 Aug 2023 15:31:28 +0000 (17:31 +0200)
commit0d228ff9c1c73dffa94cb785e308ca7d649aa25e
tree76763a18d586fbb2367ff5d8f4172bb926128425
parent59b96ea4c220f41837b183697def20aa9ec89857
platform: mellanox: mlx-platform: Modify health and power hotplug action

Set explicitly hotplug event action for health and power signals for
L1 switch as "MLXREG_HOTPLUG_DEVICE_NO_ACTION" in order to allow
processing of notification callback even I2C parent bus is not
specified.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230822113451.13785-5-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/mlx-platform.c