ufs: amd-versal2: Fix reset names with binding
Align reset names with DT binding. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/e1082054610fe73d4487d12f4274315030592c77.1765813212.git.michal.simek@amd.com
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Copyright (C) 2024 Advanced Micro Devices, Inc.
|
||||
* Copyright (C) 2024-2025 Advanced Micro Devices, Inc.
|
||||
*/
|
||||
|
||||
#include <clk.h>
|
||||
@@ -319,12 +319,12 @@ static int ufs_versal2_init(struct ufs_hba *hba)
|
||||
}
|
||||
priv->host_clk = core_clk_rate;
|
||||
|
||||
priv->rstc = devm_reset_control_get(hba->dev, "ufshc-rst");
|
||||
priv->rstc = devm_reset_control_get(hba->dev, "host");
|
||||
if (IS_ERR(priv->rstc)) {
|
||||
dev_err(hba->dev, "failed to get reset ctl: ufshc-rst\n");
|
||||
return PTR_ERR(priv->rstc);
|
||||
}
|
||||
priv->rstphy = devm_reset_control_get(hba->dev, "ufsphy-rst");
|
||||
priv->rstphy = devm_reset_control_get(hba->dev, "phy");
|
||||
if (IS_ERR(priv->rstphy)) {
|
||||
dev_err(hba->dev, "failed to get reset ctl: ufsphy-rst\n");
|
||||
return PTR_ERR(priv->rstphy);
|
||||
|
||||
Reference in New Issue
Block a user