hwmon: (dell-smm) Warn if SMM call took a very long time to execute
authorArmin Wolf <W_Armin@gmx.de>
Tue, 26 Apr 2022 21:31:54 +0000 (23:31 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 20 May 2022 17:57:05 +0000 (10:57 -0700)
commit981c5f3c744bbe2e6420a8a834d52c7ed2a75b7f
tree56c3eac636bc38a7580af3cfe16a01d30884fbed
parentf44aa665ee9647a204066b287c8fc8c604440425
hwmon: (dell-smm) Warn if SMM call took a very long time to execute

If a particular SMM call takes a very long time to execute,
the user might experience audio problems. Print a warning
if a particular SMM call took over 0.250 seconds to execute,
so the user can check whether or not possible audio problems
are caused by this driver.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20220426213154.724708-4-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c