mbox series

[0/4] Propagate errors from platform_get_irq() in the USB drivers

Message ID 20211214204247.7172-1-s.shtylyov@omp.ru
Headers show
Series Propagate errors from platform_get_irq() in the USB drivers | expand

Message

Sergey Shtylyov Dec. 14, 2021, 8:42 p.m. UTC
Here are 4 patches against the 'usb-next' branch of Greg KH's 'usb.git' repo.
The affected host/gadget drivers call platform_get_irq() but override its
result in case of error. Switch them to propagating the error codes upstream.
The patche #3 depends on the previously posted patch:

https://marc.info/?l=linux-kernel&m=163623041902285

Sergey Shtylyov (4):
  usb: gadget: udc: bcm63xx: propagate errors from platform_get_irq()
  usb: gadget: udc: pxa25x: propagate errors from platform_get_irq()
  usb: host: ehci-sh: propagate errors from platform_get_irq()
  usb: host: ohci-omap: propagate errors from platform_get_irq()

 drivers/usb/gadget/udc/bcm63xx_udc.c | 8 ++++++--
 drivers/usb/gadget/udc/pxa25x_udc.c  | 2 +-
 drivers/usb/host/ehci-sh.c           | 4 ++--
 drivers/usb/host/ohci-omap.c         | 2 +-
 4 files changed, 10 insertions(+), 6 deletions(-)