summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
diff options
context:
space:
mode:
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>2023-10-20 14:27:51 -0700
committerDavid S. Miller <davem@davemloft.net>2023-10-22 11:41:46 +0100
commitfd78ec3fbc470d33c42a312fd22506e3f3704374 (patch)
treea8d728307f742d739f933ce8e153caff9be659df /drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
parent55862094a9d0d14f607eec00b925401407d61070 (diff)
bnxt_en: Fix invoking hwmon_notify_event
FW sends the async event to the driver when the device temperature goes above or below the threshold values. Only notify hwmon if the temperature is increasing to the next alert level, not when it is decreasing. Cc: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Kashyap Desai <kashyap.desai@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c')
0 files changed, 0 insertions, 0 deletions