linux/drivers/phy/renesas
Geert Uytterhoeven 985b411769 phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq
commit b049e03ca5 upstream.

As platform_get_irq() now prints an error when the interrupt does not
exist, a scary warning may be printed for an optional interrupt:

    phy_rcar_gen3_usb2 ee0a0200.usb-phy: IRQ index 0 not found

Fix this by calling platform_get_irq_optional() instead.

Fixes: 7723f4c5ec ("driver core: platform: Add an error message to platform_get_irq*()")
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-09 10:20:05 +01:00
..
Kconfig phy: rcar-gen3-usb2: Add support for r8a77470 2019-04-17 14:13:11 +05:30
Makefile phy: renesas: convert to SPDX identifiers 2018-09-26 13:09:41 +05:30
phy-rcar-gen2.c phy: renesas: phy-rcar-gen2: Fix the array off by one warning 2019-12-31 16:44:29 +01:00
phy-rcar-gen3-pcie.c phy: Renesas R-Car gen3 PCIe PHY driver 2018-07-10 13:45:11 +05:30
phy-rcar-gen3-usb2.c phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq 2020-01-09 10:20:05 +01:00
phy-rcar-gen3-usb3.c phy: renesas: use SPDX identifier for Renesas drivers 2018-09-10 14:28:07 +05:30