aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/abx500.h
diff options
context:
space:
mode:
authorGravatar Sebastian Andrzej Siewior <bigeasy@linutronix.de> 2020-11-13 19:13:17 +0100
committerGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2020-11-23 13:39:45 +0100
commit2e84ea5a3269f9e1d4e7658a9893f5eac4aee5ec (patch)
tree5e7acc70dc349d6b612db8261ab14ac95c55f880 /drivers/hwmon/abx500.h
parentLinux 5.10-rc5 (diff)
downloadlinux-2e84ea5a3269f9e1d4e7658a9893f5eac4aee5ec.tar.gz
linux-2e84ea5a3269f9e1d4e7658a9893f5eac4aee5ec.tar.bz2
linux-2e84ea5a3269f9e1d4e7658a9893f5eac4aee5ec.zip
ACPI: EC: Eliminate in_interrupt() usage
advance_transaction() is using in_interrupt() to distinguish between an invocation from the interrupt handler and an invocation from another part of the stack. This looks misleading because chains like acpi_update_all_gpes() -> acpi_ev_gpe_detect() -> acpi_ev_detect_gpe() -> acpi_ec_gpe_handler() should probably also behave as if they were called from an interrupt handler. Replace in_interrupt() usage with a function parameter. Set this parameter to `true' if invoked from an interrupt handler (acpi_ec_gpe_handler() and acpi_ec_irq_handler()) and `false' otherwise. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/hwmon/abx500.h')
0 files changed, 0 insertions, 0 deletions