sp1301_i2c_client = NULL; return ret; } @@ -235,6 +236,7 @@ static int ohci_hcd_nxp_remove(struct platform_device *pdev) usb_remove_hcd(hcd); ohci_nxp_stop_hc(); usb_put_hcd(hcd); + put_device(&isp1301_i2c_client->dev); isp1301_i2c_client = NULL; return 0; -- 2.51.0[PATCH 5.10.y 2/2] usb: ohci-nxp: fix device leak on probe failureSasha Levin undefinedstable@vger.kernel.org undefined undefined undefined undefined undefined undefined–