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:
Michal Simek
2025-12-15 16:40:14 +01:00
parent bf744b2236
commit feb121db3e

View File

@@ -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);