]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: mlx-platform: Configure notifier callbacks for modular system
authorVadim Pasternak <vadimp@nvidia.com>
Sat, 2 Oct 2021 09:32:33 +0000 (12:32 +0300)
committerHans de Goede <hdegoede@redhat.com>
Tue, 19 Oct 2021 08:41:55 +0000 (10:41 +0200)
commitab22112e4b567bc95632b0cfb1aec13edd93101a
tree975956eb0c8dd2b613e5177f8500a070e6ae3d94
parentaa911921d2e2e0bd9c03aa18f08c2f1fba3f94a4
platform/x86: mlx-platform: Configure notifier callbacks for modular system

Add event notifier callbacks for modular system line cards. These
callbacks are to be passed to "mlxreg-hotplug" driver by line card
driver during probing. Then, when any line card related hotplug event
is received (insertion ,power, synch, ready), hotplug driver will
invoke callback for the relevant line card.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/20211002093238.3771419-5-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/mlx-platform.c