Skip to content

Commit 532e762

Browse files
committed
gpio: pch: Move IRQ status message to verbose debug level
If one of the devices which share the same IRQ line doesn't care about interrupt GPIO will spam the log with status equal to 0x00. Move IRQ status message to verbose debug level (it still might be useful). Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 85b565c commit 532e762

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpio/gpio-pch.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,10 @@ static irqreturn_t pch_gpio_handler(int irq, void *dev_id)
304304
unsigned long reg_val = ioread32(&chip->reg->istatus);
305305
int i;
306306

307-
dev_dbg(chip->dev, "irq=%d status=0x%lx\n", irq, reg_val);
307+
dev_vdbg(chip->dev, "irq=%d status=0x%lx\n", irq, reg_val);
308308

309309
reg_val &= BIT(gpio_pins[chip->ioh]) - 1;
310+
310311
for_each_set_bit(i, &reg_val, gpio_pins[chip->ioh])
311312
generic_handle_irq(chip->irq_base + i);
312313

0 commit comments

Comments
 (0)