projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
871002d
)
phy: cadence: Sierra: Get reset control "array" for each link
author
Kishon Vijay Abraham I
<kishon@ti.com>
Mon, 16 Dec 2019 09:57:06 +0000
(15:27 +0530)
committer
Kishon Vijay Abraham I
<kishon@ti.com>
Wed, 8 Jan 2020 07:28:06 +0000
(12:58 +0530)
A link may have multiple lanes each with a separate reset. Get
reset control "array" in order to reset all the lanes associated
with the link.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/cadence/phy-cadence-sierra.c
patch
|
blob
|
history
diff --git
a/drivers/phy/cadence/phy-cadence-sierra.c
b/drivers/phy/cadence/phy-cadence-sierra.c
index fdca3bd178c63ef9c7f143aca8032ad8d480f91a..497c83827670fc51e829a024bdaa6b29664157c2 100644
(file)
--- a/
drivers/phy/cadence/phy-cadence-sierra.c
+++ b/
drivers/phy/cadence/phy-cadence-sierra.c
@@
-499,7
+499,7
@@
static int cdns_sierra_phy_probe(struct platform_device *pdev)
struct phy *gphy;
sp->phys[node].lnk_rst =
- of_reset_control_
get_exclusive_by_index(child, 0
);
+ of_reset_control_
array_get_exclusive(child
);
if (IS_ERR(sp->phys[node].lnk_rst)) {
dev_err(dev, "failed to get reset %s\n",