]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (pwm-fan) disable threaded interrupts
authorJohn Keeping <jkeeping@inmusicbrands.com>
Thu, 10 Apr 2025 18:03:57 +0000 (19:03 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Apr 2025 14:18:27 +0000 (07:18 -0700)
commit56591083846b8f4203234faf52de7a89f038ceeb
tree0d67c7c870f0c9fa63ae97f8deafbfce348cdcd0
parent7e581c193bde7d5ac49587d9a182e5d13e05547c
hwmon: (pwm-fan) disable threaded interrupts

The interrupt handler here just increments an atomic counter, jumping to
a threaded handler risks missing tachometer pulses and is likely to be
more expensive than the simple atomic increment.

Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Link: https://lore.kernel.org/r/20250410180357.2258822-1-jkeeping@inmusicbrands.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pwm-fan.c