projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66fadea
)
usb: phy: phy-mxs-usb: set the correct platform drvdata
author
Jisheng Zhang
<jszhang@marvell.com>
Thu, 7 Nov 2013 02:55:49 +0000
(10:55 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 25 Nov 2013 16:54:25 +0000
(10:54 -0600)
We need to set mxs_phy rather as the platform drvdata so that we can get
the correct mxs_phy in mxs_phy_remove().
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mxs-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/phy/phy-mxs-usb.c
b/drivers/usb/phy/phy-mxs-usb.c
index fdd33b44dbd31b929eb13a2c0bd138570ccebc37..545844b7e7962f809f33812d9167f039b5fbc8d1 100644
(file)
--- a/
drivers/usb/phy/phy-mxs-usb.c
+++ b/
drivers/usb/phy/phy-mxs-usb.c
@@
-164,7
+164,7
@@
static int mxs_phy_probe(struct platform_device *pdev)
mxs_phy->clk = clk;
- platform_set_drvdata(pdev,
&mxs_phy->
phy);
+ platform_set_drvdata(pdev,
mxs_
phy);
ret = usb_add_phy_dev(&mxs_phy->phy);
if (ret)