ACPI: EC: Use a spin lock without disabing interrupts
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Dec 2023 11:27:30 +0000 (12:27 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Dec 2023 13:13:52 +0000 (14:13 +0100)
commiteb9299beadbdd7be8de1e97f1059e89bcb64b05d
tree022a87f3c869d168f97053069db0ddbcc5d72545
parent655a6e7c0d83d47c36218525708c9fcfdd7f4b43
ACPI: EC: Use a spin lock without disabing interrupts

Since all of the ACPI EC driver code runs in thread context after recent
changes, it does not need to disable interrupts on the local CPU when
acquiring a spin lock.

Make it use the spin lock without disabling interrupts.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c