linux/drivers/usb/host
Miaoqian Lin b5c5b13cb4 usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
of_find_compatible_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 796bcae736 ("USB: powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3]")
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220602110849.58549-1-linmq006@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-10 11:21:55 +02:00
..
bcma-hcd.c
ehci-atmel.c
ehci-brcm.c
ehci-dbg.c usb: host: {e|o}hci-dbg: kill useless 'ret' variable initializers 2022-02-15 15:11:20 +01:00
ehci-exynos.c
ehci-fsl.c
ehci-fsl.h
ehci-grlib.c
ehci-hcd.c USB: Fix ehci infinite suspend-resume loop issue in zhaoxin 2022-04-21 18:53:53 +02:00
ehci-hub.c
ehci-mem.c
ehci-mv.c
ehci-npcm7xx.c
ehci-omap.c usb: ehci-omap: drop unused ehci_read() function 2022-05-05 21:53:18 +02:00
ehci-orion.c
ehci-pci.c USB: Fix ehci infinite suspend-resume loop issue in zhaoxin 2022-04-21 18:53:53 +02:00
ehci-platform.c usb: Probe EHCI, OHCI controllers asynchronously 2022-05-19 18:11:25 +02:00
ehci-ppc-of.c usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe 2022-06-10 11:21:55 +02:00
ehci-ps3.c
ehci-q.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
ehci-sched.c usb: host: ehci-sched: Use struct_size() in kzalloc() 2022-01-26 13:50:07 +01:00
ehci-sh.c Revert "usb: host: ehci-sh: propagate errors from platform_get_irq()" 2021-12-21 07:14:05 +01:00
ehci-spear.c
ehci-st.c
ehci-sysfs.c
ehci-timer.c
ehci-xilinx-of.c usb: host: ehci-xilinx: adding description for return value 2022-05-12 13:58:48 +02:00
ehci.h USB: Fix ehci infinite suspend-resume loop issue in zhaoxin 2022-04-21 18:53:53 +02:00
fhci-dbg.c
fhci-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fotg210-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
fotg210.h
fsl-mph-dr-of.c
isp116x-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
isp116x.h
isp1362-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
isp1362.h
Kconfig usb: omap: avoid mach/*.h headers 2022-04-21 15:01:32 +02:00
Makefile
max3421-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
ohci-at91.c
ohci-da8xx.c
ohci-dbg.c usb: host: {e|o}hci-dbg: kill useless 'ret' variable initializers 2022-02-15 15:11:20 +01:00
ohci-exynos.c
ohci-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
ohci-hub.c
ohci-mem.c
ohci-nxp.c
ohci-omap.c USB / Thunderbolt changes for 5.19-rc1 2022-06-03 11:17:49 -07:00
ohci-pci.c
ohci-platform.c usb: Probe EHCI, OHCI controllers asynchronously 2022-05-19 18:11:25 +02:00
ohci-ppc-of.c usb: Prepare cleanup of powerpc's asm/prom.h 2022-04-21 19:01:30 +02:00
ohci-ps3.c
ohci-pxa27x.c ARM: pxa: split up mach/hardware.h 2022-04-19 16:27:05 +02:00
ohci-q.c
ohci-s3c2410.c usb: ohci-s3c2410: Use platform_get_irq() to get the interrupt 2021-12-17 16:51:59 +01:00
ohci-sa1111.c
ohci-sm501.c
ohci-spear.c usb: ohci-spear: Remove direct access to platform_device resource list 2021-12-17 16:51:31 +01:00
ohci-st.c
ohci-tmio.c headers/prep: Fix non-standard header section: drivers/usb/host/ohci-tmio.c 2022-01-05 16:18:11 +01:00
ohci.h
oxu210hp-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
pci-quirks.c
pci-quirks.h
r8a66597-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
r8a66597.h
sl811_cs.c
sl811-hcd.c usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
sl811.h
ssb-hcd.c
u132-hcd.c
uhci-debug.c
uhci-grlib.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-pci.c
uhci-platform.c usb: uhci: Use platform_get_irq() to get the interrupt 2021-12-17 16:52:21 +01:00
uhci-q.c
xen-hcd.c xen/usbfront: use xenbus_setup_ring() and xenbus_teardown_ring() 2022-05-19 14:22:05 +02:00
xhci-dbg.c
xhci-dbgcap.c xhci: dbc: Don't call dbc_tty_init() on every dbc tty probe 2022-02-17 16:20:45 +01:00
xhci-dbgcap.h xhci: dbgtty: use IDR to support several dbc instances. 2022-02-17 16:20:45 +01:00
xhci-dbgtty.c xhci: dbgtty: use IDR to support several dbc instances. 2022-02-17 16:20:45 +01:00
xhci-debugfs.c
xhci-debugfs.h
xhci-ext-caps.c
xhci-ext-caps.h
xhci-histb.c
xhci-hub.c xhci: prepare for operation w/o shared hcd 2022-05-12 18:32:24 +02:00
xhci-mem.c xhci: use generic command timer for stop endpoint commands. 2022-05-12 18:32:25 +02:00
xhci-mtk-sch.c usb: xhci-mtk: remove bandwidth budget table 2022-05-12 18:35:38 +02:00
xhci-mtk.c usb: host: xhci-mtk: Simplify supplies handling with regulator_bulk 2022-02-17 16:12:04 +01:00
xhci-mtk.h usb: xhci-mtk: remove bandwidth budget table 2022-05-12 18:35:38 +02:00
xhci-mvebu.c Revert "usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720" 2022-02-25 19:12:21 +05:30
xhci-mvebu.h Revert "usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720" 2022-02-25 19:12:21 +05:30
xhci-pci-renesas.c
xhci-pci.c xhci: Allow host runtime PM as default for Intel Alder Lake N xHCI 2022-05-12 18:32:25 +02:00
xhci-pci.h
xhci-plat.c usb: host: xhci-plat: omit shared hcd if either root hub has no ports 2022-05-12 18:32:25 +02:00
xhci-plat.h Revert "usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720" 2022-02-25 19:12:21 +05:30
xhci-rcar.c usb: Drop commas after SoC match table sentinels 2022-03-03 15:45:15 +01:00
xhci-rcar.h
xhci-ring.c xhci: Remove quirk for over 10 year old evaluation hardware 2022-05-12 18:32:25 +02:00
xhci-tegra.c usb: xhci: tegra:Fix PM usage reference leak of tegra_xusb_unpowergate_partitions 2022-04-21 18:32:48 +02:00
xhci-trace.c
xhci-trace.h
xhci.c xhci: Don't defer primary roothub registration if there is only one roothub 2022-05-19 18:10:16 +02:00
xhci.h xhci: Remove quirk for over 10 year old evaluation hardware 2022-05-12 18:32:25 +02:00