diff options
author | 2019-10-01 20:06:22 +0200 | |
---|---|---|
committer | 2019-10-15 13:00:43 +0200 | |
commit | ec37d4e999041ae8eb507d8d444a28b338670336 (patch) | |
tree | 154d8e483f1bea63f1470ccc1163e86e4de48cd8 /scripts/gdb/linux/utils.py | |
parent | iommu/rockchip: Don't use platform_get_irq to implicitly count irqs (diff) | |
download | wireguard-linux-ec37d4e999041ae8eb507d8d444a28b338670336.tar.xz wireguard-linux-ec37d4e999041ae8eb507d8d444a28b338670336.zip |
iommu/ipmmu-vmsa: Only call platform_get_irq() when interrupt is mandatory
As platform_get_irq() now prints an error when the interrupt does not
exist, calling it gratuitously causes scary messages like:
ipmmu-vmsa e6740000.mmu: IRQ index 0 not found
Fix this by moving the call to platform_get_irq() down, where the
existence of the interrupt is mandatory.
Fixes: 7723f4c5ecdb8d83 ("driver core: platform: Add an error message to platform_get_irq*()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions