Commit 3652dc07 authored by Martin Jücker's avatar Martin Jücker Committed by Krzysztof Kozlowski

pinctrl: samsung: improve wake irq info on console

Improve the wake irq message by also printing the bank name and hwirq
number that matches this irq number.
Signed-off-by: default avatarMartin Jücker <martin.juecker@gmail.com>
Link: https://lore.kernel.org/r/20220130232122.GA119248@adroidSigned-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
parent 0d1b662c
...@@ -344,7 +344,8 @@ static int exynos_wkup_irq_set_wake(struct irq_data *irqd, unsigned int on) ...@@ -344,7 +344,8 @@ static int exynos_wkup_irq_set_wake(struct irq_data *irqd, unsigned int on)
struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd);
unsigned long bit = 1UL << (2 * bank->eint_offset + irqd->hwirq); unsigned long bit = 1UL << (2 * bank->eint_offset + irqd->hwirq);
pr_info("wake %s for irq %d\n", on ? "enabled" : "disabled", irqd->irq); pr_info("wake %s for irq %u (%s-%lu)\n", on ? "enabled" : "disabled",
irqd->irq, bank->name, irqd->hwirq);
if (!on) if (!on)
*our_chip->eint_wake_mask_value |= bit; *our_chip->eint_wake_mask_value |= bit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment