linux/drivers/usb
Sven Peter 782c70edc4 usb: typec: tipd: Fix spurious fwnode_handle_put in error path
The err_role_put error path always calls fwnode_handle_put to release
the fwnode. This path can be reached after probe itself has already
released that fwnode though. Fix that by moving fwnode_handle_put in the
happy path to the very end.

Fixes: 18a6c866bb ("usb: typec: tps6598x: Add USB role switching logic")
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20221114174449.34634-2-sven@svenpeter.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-22 17:29:25 +01:00
..
atm usb: move from strlcpy with unused retval to strscpy 2022-08-19 11:08:54 +02:00
c67x00 USB: c67x00: remove unnecessary check of res 2022-05-12 11:36:46 +02:00
cdns3 Merge 6.1-rc6 into usb-next 2022-11-21 10:37:10 +01:00
chipidea Merge 6.1-rc6 into usb-next 2022-11-21 10:37:10 +01:00
class USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
common usb: ulpi: use DEFINE_SHOW_ATTRIBUTE to simplify ulpi_regs 2022-09-27 10:36:54 +02:00
core Merge 6.1-rc6 into usb-next 2022-11-21 10:37:10 +01:00
dwc2 usb: dwc2: platform: Improve error reporting for problems during .remove() 2022-10-22 13:24:27 +02:00
dwc3 Merge 6.1-rc6 into usb-next 2022-11-21 10:37:10 +01:00
early usb: early: xhci-dbc: Fix xdbc number parsing 2022-03-15 18:20:34 +01:00
fotg210 usb: fotg210-udc: Remove a useless assignment 2022-11-22 17:26:23 +01:00
gadget usb: gadget: f_ecm: Always set current gadget in ecm_bind() 2022-11-09 12:39:33 +01:00
host usb: host: xhci-mtk: omit shared hcd if either root hub has no ports 2022-11-22 17:28:25 +01:00
image usb/image: fix repeated words in comments 2022-07-27 14:33:53 +02:00
isp1760 usb: isp1760: Fix out-of-bounds array access 2022-05-19 18:10:59 +02:00
misc usb: ftdi-elan: remove variable l 2022-11-22 17:27:03 +01:00
mon usb: mon: make mmapped memory read only 2022-09-22 15:52:29 +02:00
mtu3 usb: mtu3: fix failed runtime suspend in host only mode 2022-09-30 13:55:48 +02:00
musb usb: musb: jz4740: Support the generic PHY framework 2022-11-09 12:39:13 +01:00
phy usb: phy: jz4770: Remove driver 2022-11-09 12:39:13 +01:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-06-21 16:39:03 +02:00
roles
serial USB: serial: option: add u-blox LARA-L6 modem 2022-11-16 17:19:43 +01:00
storage USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
typec usb: typec: tipd: Fix spurious fwnode_handle_put in error path 2022-11-22 17:29:25 +01:00
usbip usb/usbip: Fix v_recv_cmd_submit() to use PIPE_BULK define 2022-11-11 10:28:42 +01:00
Kconfig usb: fotg210: Collect pieces of dual mode controller 2022-11-09 12:38:09 +01:00
Makefile usb: fotg210: Collect pieces of dual mode controller 2022-11-09 12:38:09 +01:00
usb-skeleton.c usb: usb-skeleton: Update min() to min_t() 2021-10-05 12:56:48 +02:00