diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2021-03-30 16:31:37 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-03-31 16:45:47 +0530 |
commit | e0611d6d9639b79bd2605a9eb2e5cae28edc3e85 (patch) | |
tree | 39154490a726a11534cfad5d8a33cf6ddd2d4392 | |
parent | b69d39f6841965559afbc3ecb0e3a8366c8999e8 (diff) | |
download | linux-stable-e0611d6d9639b79bd2605a9eb2e5cae28edc3e85.tar.gz linux-stable-e0611d6d9639b79bd2605a9eb2e5cae28edc3e85.tar.bz2 linux-stable-e0611d6d9639b79bd2605a9eb2e5cae28edc3e85.zip |
phy: cadence-torrent: Explicitly request exclusive reset control
No functional change. Since the reset controls obtained in
Torrent is exclusively used by the Torrent device, use
exclusive reset control request API calls.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Swapnil Jakhade <sjakhade@cadence.com>
Link: https://lore.kernel.org/r/20210330110138.24356-5-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | drivers/phy/cadence/phy-cadence-torrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c index 5ee1657f5a1c..ff8bb4b724c0 100644 --- a/drivers/phy/cadence/phy-cadence-torrent.c +++ b/drivers/phy/cadence/phy-cadence-torrent.c @@ -2264,7 +2264,7 @@ static int cdns_torrent_reset(struct cdns_torrent_phy *cdns_phy) return PTR_ERR(cdns_phy->phy_rst); } - cdns_phy->apb_rst = devm_reset_control_get_optional(dev, "torrent_apb"); + cdns_phy->apb_rst = devm_reset_control_get_optional_exclusive(dev, "torrent_apb"); if (IS_ERR(cdns_phy->apb_rst)) { dev_err(dev, "%s: failed to get apb reset\n", dev->of_node->full_name); |