diff options
| author | Geert Uytterhoeven <[email protected]> | 2019-10-01 18:11:09 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2019-10-22 07:39:33 +0000 |
| commit | b049e03ca57f238e74a79e44ffc85904db465e72 (patch) | |
| tree | bc379c9280b5b8658ae0e0d602418460228282e6 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | usb: gadget: Remove set but not used variable 'opts' in msg_do_config (diff) | |
| download | kernel-b049e03ca57f238e74a79e44ffc85904db465e72.tar.gz kernel-b049e03ca57f238e74a79e44ffc85904db465e72.zip | |
phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq
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: 7723f4c5ecdb8d83 ("driver core: platform: Add an error message to platform_get_irq*()")
Reviewed-by: Stephen Boyd <[email protected]>
Reviewed-by: Yoshihiro Shimoda <[email protected]>
Tested-by: Yoshihiro Shimoda <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
