mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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 <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
85b565c99e
commit
532e762d51
1 changed files with 2 additions and 1 deletions
|
@ -304,9 +304,10 @@ static irqreturn_t pch_gpio_handler(int irq, void *dev_id)
|
|||
unsigned long reg_val = ioread32(&chip->reg->istatus);
|
||||
int i;
|
||||
|
||||
dev_dbg(chip->dev, "irq=%d status=0x%lx\n", irq, reg_val);
|
||||
dev_vdbg(chip->dev, "irq=%d status=0x%lx\n", irq, reg_val);
|
||||
|
||||
reg_val &= BIT(gpio_pins[chip->ioh]) - 1;
|
||||
|
||||
for_each_set_bit(i, ®_val, gpio_pins[chip->ioh])
|
||||
generic_handle_irq(chip->irq_base + i);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue