diff options
author | Amit Cohen <amcohen@nvidia.com> | 2020-09-27 10:50:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-27 13:27:01 -0700 |
commit | 05cf5828bc8e18fcff095222395e188766683409 (patch) | |
tree | bc5a66a4ba313e9fd876e3ccde8ae7a8efafd72e /drivers/spmi | |
parent | 3bdbab3fee87e7d2b29a61ea55808ae9d993f1d2 (diff) |
mlxsw: Update module's settings when module is plugged in
Module temperature warning events are enabled for modules that have a
temperature sensor and configured according to the temperature
thresholds queried from the module.
When a module is unplugged we are guaranteed not to get temperature
warning events. However, when a module is plugged in we need to
potentially update its current settings (i.e., event enablement and
thresholds).
Register to port module plug/unplug events and update module's settings
upon plug in events.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions