summaryrefslogtreecommitdiff
path: root/drivers/acpi/resource.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2022-10-04 13:33:41 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-10-13 21:48:40 +0300
commit4ef96d4dc8e1c418260abf817a90a3adb2d386ac (patch)
tree622b59172b77545a0331f500c324b7693358206b /drivers/acpi/resource.c
parentbfcdf58380b1d9be564a78a9370da722ed1a9965 (diff)
downloadlinux-4ef96d4dc8e1c418260abf817a90a3adb2d386ac.tar.xz
ACPI: resource: note more about IRQ override
Use an exclamation mark to note which of the properties was overridden. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/resource.c')
-rw-r--r--drivers/acpi/resource.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index efa92bc8c303..78c2804164c6 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -512,8 +512,11 @@ static void acpi_dev_get_irqresource(struct resource *res, u32 gsi,
u8 pol = p ? ACPI_ACTIVE_LOW : ACPI_ACTIVE_HIGH;
if (triggering != trig || polarity != pol) {
- pr_warn("ACPI: IRQ %d override to %s, %s\n", gsi,
- t ? "level" : "edge", p ? "low" : "high");
+ pr_warn("ACPI: IRQ %d override to %s%s, %s%s\n", gsi,
+ t ? "level" : "edge",
+ trig == triggering ? "" : "(!)",
+ p ? "low" : "high",
+ pol == polarity ? "" : "(!)");
triggering = trig;
polarity = pol;
}