[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250825124901.2190539-1-alexander.stein@ew.tq-group.com>
Date: Mon, 25 Aug 2025 14:49:00 +0200
From: Alexander Stein <alexander.stein@...tq-group.com>
To: Bin Liu <b-liu@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Matthias Schiffer <matthias.schiffer@...group.com>,
linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
Alexander Stein <alexander.stein@...tq-group.com>
Subject: [PATCH 1/1] usb: musb: dsps: use platform_get_irq_byname_optional() for vbus IRQ
From: Matthias Schiffer <matthias.schiffer@...group.com>
The vbus IRQ is optional, so no error message should be printed if it is
not available.
Signed-off-by: Matthias Schiffer <matthias.schiffer@...group.com>
Signed-off-by: Alexander Stein <alexander.stein@...tq-group.com>
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 12f587ab85117..a08ce96c08d3a 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -839,7 +839,7 @@ static int dsps_setup_optional_vbus_irq(struct platform_device *pdev,
{
int error;
- glue->vbus_irq = platform_get_irq_byname(pdev, "vbus");
+ glue->vbus_irq = platform_get_irq_byname_optional(pdev, "vbus");
if (glue->vbus_irq == -EPROBE_DEFER)
return -EPROBE_DEFER;
--
2.43.0
Powered by blists - more mailing lists