thermal: int340x: processor_thermal: Ack all PCI interrupts
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 20 Sep 2023 18:51:53 +0000 (11:51 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Sep 2023 18:30:03 +0000 (20:30 +0200)
commit1ced5dce63d0a43eda3e81d2dd74e17f9c4a30b5
treeeb58df5ea5f45abc025200c4e80aabd72d5b419e
parenta966a0da3bae94d671bbd146ff2e3059eb07d5b0
thermal: int340x: processor_thermal: Ack all PCI interrupts

All interrupts from the processor thermal PCI device require ACK. This
is done by writing 0x01 at offset 0xDC in the config space.

This is already done for the thereshold interrupt. Extend this for the
workload hint interrupt.

Fixes: e682b86211a1 ("thermal: int340x: Handle workload hint interrupts")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c