Thread (10 messages) flat view 10 messages, 4 authors, 2012-08-10

Re: [PATCH v3 2/5] usb: s3c-hsotg: Adding phy driver support

From: Felipe Balbi <hidden>
Date: 2012-08-09 09:29:39
Also in: linux-arm-kernel, linux-samsung-soc

On Wed, Aug 08, 2012 at 01:10:58PM +0530, Praveen Paneri wrote:
quoted hunk ↗ jump to hunk
@@ -3689,6 +3706,9 @@ static int __devexit s3c_hsotg_remove(struct platform_device *pdev)
 	s3c_hsotg_phy_disable(hsotg);
 	regulator_bulk_free(ARRAY_SIZE(hsotg->supplies), hsotg->supplies);
 
+	if (hsotg->phy)
+		devm_usb_put_phy(&pdev->dev, hsotg->phy);
unnecessary. This will be called for you when the platform_device object
is detroyed.

-- 
balbi

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help