Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: musb: dsps: use platform_get_irq_byname_optional() for vbus IRQ

The vbus IRQ is optional, so no error message should be printed if it is
not available.

Signed-off-by: Matthias Schiffer <matthias.schiffer@tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20250825124901.2190539-1-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Matthias Schiffer and committed by
Greg Kroah-Hartman
ab967169 0d739504

+1 -1
+1 -1
drivers/usb/musb/musb_dsps.c
··· 839 839 { 840 840 int error; 841 841 842 - glue->vbus_irq = platform_get_irq_byname(pdev, "vbus"); 842 + glue->vbus_irq = platform_get_irq_byname_optional(pdev, "vbus"); 843 843 if (glue->vbus_irq == -EPROBE_DEFER) 844 844 return -EPROBE_DEFER; 845 845