summaryrefslogtreecommitdiff
path: root/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2020-11-17 12:56:17 +0300
committerVinod Koul <vkoul@kernel.org>2020-11-17 12:59:42 +0300
commit53cde0fe020fd9594820307661e9b9c42821722d (patch)
tree13a936aa58f1ed226f94e8c60f6d2721b8e1eff5 /drivers/soc/amlogic/meson-gx-pwrc-vpu.c
parent50c0133cd154090446bc19e466df57502f422644 (diff)
downloadlinux-53cde0fe020fd9594820307661e9b9c42821722d.tar.xz
phy: amlogic: Revert "phy: amlogic: Replace devm_reset_control_array_get()"
This reverts commit 3cc8e86721ad ("phy: amlogic: Replace devm_reset_control_array_get()") as it caused build failure drivers/soc/amlogic/meson-ee-pwrc.c: In function 'meson_ee_pwrc_init_domain': drivers/soc/amlogic/meson-ee-pwrc.c:416:65: error: expected ';' before 'if' Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soc/amlogic/meson-gx-pwrc-vpu.c')
-rw-r--r--drivers/soc/amlogic/meson-gx-pwrc-vpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/amlogic/meson-gx-pwrc-vpu.c b/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
index a4dba8a9cfbc..21b4bc811c00 100644
--- a/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
+++ b/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
@@ -303,7 +303,7 @@ static int meson_gx_pwrc_vpu_probe(struct platform_device *pdev)
return PTR_ERR(regmap_hhi);
}
- rstc = devm_reset_control_array_get_exclusive(&pdev->dev);
+ rstc = devm_reset_control_array_get(&pdev->dev, false, false);
if (IS_ERR(rstc)) {
if (PTR_ERR(rstc) != -EPROBE_DEFER)
dev_err(&pdev->dev, "failed to get reset lines\n");