[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5d961d69.1c69fb81.43b1b.addf@mx.google.com>
Date: Thu, 03 Oct 2019 09:10:16 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>
Cc: linux-renesas-soc@...r.kernel.org, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: Re: [PATCH] serial: sh-sci: Use platform_get_irq_optional() for optional interrupts
Quoting Geert Uytterhoeven (2019-10-01 11:07:43)
> As platform_get_irq() now prints an error when the interrupt does not
> exist, scary warnings may be printed for optional interrupts:
>
> sh-sci e6550000.serial: IRQ index 1 not found
> sh-sci e6550000.serial: IRQ index 2 not found
> sh-sci e6550000.serial: IRQ index 3 not found
> sh-sci e6550000.serial: IRQ index 4 not found
> sh-sci e6550000.serial: IRQ index 5 not found
>
> Fix this by calling platform_get_irq_optional() instead for all but the
> first interrupts, which are optional.
>
> Fixes: 7723f4c5ecdb8d83 ("driver core: platform: Add an error message to platform_get_irq*()")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> ---
Reviewed-by: Stephen Boyd <swboyd@...omium.org>
Powered by blists - more mailing lists