diff options
| author | 2026-10-14 19:34:06 +0200 | |
|---|---|---|
| committer | 2026-11-02 07:00:04 -0800 | |
| commit | d1ce827a9cc11ffdfec77b7fec9b73a8020a308d (patch) | |
| tree | 2e0db005175cdf61d929aa5f87ea1d2dbff85cf2 /scripts/Makefile.thinlto | |
| parent | hwmon: chipcap2: disable device after hwmon teardown (diff) | |
hwmon: chipcap2: enable IRQ processing when regulator is already enabled
cc2_enable() returns early when the regulator is already enabled.
This can happen if a previous regulator_disable() failed or if the
regulator was configured as always-on.
In this case, process_irqs remains false, causing the ready interrupt
to be ignored. Subsequent operations waiting for the ready completion
then time out.
Set process_irqs before returning when the regulator is already
enabled, so that the driver continues to process ready interrupts.
Fixes: 3af350929e75 ("hwmon: Add support for Amphenol ChipCap 2")
Cc: stable@vger.kernel.org
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20261014-chipcap2_locks-v3-7-27ebfc2c5b9e@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
