[PATCH 0/5] USB: fix device leaks at unbind

Johan Hovold posted 5 patches 2 months, 1 week ago
drivers/usb/dwc3/dwc3-imx8mp.c        |  7 ++++-
drivers/usb/dwc3/dwc3-meson-g12a.c    |  3 +++
drivers/usb/gadget/udc/renesas_usb3.c |  1 +
drivers/usb/musb/omap2430.c           | 37 ++++++++++++++-------------
4 files changed, 29 insertions(+), 19 deletions(-)
[PATCH 0/5] USB: fix device leaks at unbind
Posted by Johan Hovold 2 months, 1 week ago
This series fixes a number of device leaks after failure to drop the
reference taken by of_find_device_by_node().

Included is also a related clean up of the omap driver.

Note that these have only been compile tested.

Johan


Johan Hovold (5):
  usb: dwc3: imx8mp: fix device leak at unbind
  usb: dwc3: meson-g12a: fix device leaks at unbind
  usb: gadget: udc: renesas_usb3: fix device leak at unbind
  usb: musb: omap2430: fix device leak at unbind
  usb: musb: omap2430: clean up probe error handling

 drivers/usb/dwc3/dwc3-imx8mp.c        |  7 ++++-
 drivers/usb/dwc3/dwc3-meson-g12a.c    |  3 +++
 drivers/usb/gadget/udc/renesas_usb3.c |  1 +
 drivers/usb/musb/omap2430.c           | 37 ++++++++++++++-------------
 4 files changed, 29 insertions(+), 19 deletions(-)

-- 
2.49.1