summaryrefslogtreecommitdiff
path: root/drivers/spmi
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2020-09-27 10:50:14 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-27 13:27:01 -0700
commit05cf5828bc8e18fcff095222395e188766683409 (patch)
treebc5a66a4ba313e9fd876e3ccde8ae7a8efafd72e /drivers/spmi
parent3bdbab3fee87e7d2b29a61ea55808ae9d993f1d2 (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