patch "usb: gadget: udc: renesas_usb3: fix double phy_put()" added to usb-next
Subsystems (2)
This is a note to let you know that I've just added the patch titled
usb: gadget: udc: renesas_usb3: fix double phy_put()
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release during the merge window.
If you have any questions about this process, please let me know.
Quoted 1 line
From
8223b2f89ca63e203dcb54148e30d94979f17b0bMon Sep 17 00:00:00 2001
From: Yoshihiro Shimoda <[email protected]>
Date: Mon, 2 Apr 2018 21:21:31 +0900
Subject: usb: gadget: udc: renesas_usb3: fix double phy_put()
This patch fixes an issue that this driver cause double phy_put() calling. This driver must not call phy_put() in the remove because the driver calls devm_phy_get() in the probe.
--- drivers/usb/gadget/udc/renesas_usb3.c | 2 -- 1 file changed, 2 deletions(-)
drivers/usb/gadget/udc/renesas_usb3.c +0 -2
@@ -2421,8 +2421,6 @@ static int renesas_usb3_remove(struct platform_device *pdev)renesas_usb3_dma_free_prd (usb3, &pdev->dev);__renesas_usb3_ep_free_request (usb3->ep0_req); -if (usb3->phy) -phy_put (usb3->phy);pm_runtime_disable (&pdev->dev);return 0 ;
Signature · 1 line
2.17.0