Re: [PATCH 2/3] usb: dwc3: Switch to platform_get_irq_byname_optional()

From: Felipe Balbi
Date: Mon Oct 07 2019 - 01:38:30 EST



Hi,

Hans de Goede <hdegoede@xxxxxxxxxx> writes:

> The dwc3 code to get the "peripheral" / "host" / "otg" IRQ first tries
> platform_get_irq_byname() and then falls back to the IRQ at index 0 if
> the platform_get_irq_byname().
>
> In this case we do not want platform_get_irq_byname() to print an error
> on failure, so switch to platform_get_irq_byname_optional() instead which
> does not print an error.
>
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205037
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>

Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>

--
balbi