From 3b379cb150ec697e181a8c74b7b62dab402c2e6c Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Mon, 6 Apr 2020 16:58:32 -0700
Subject: [PATCH] Revert "clk: qcom: rcg: Return failure for RCG update"

This reverts commit 21ea4b62e1f3dc258001a68da98c9663a9dbd6c7.
Otherwise, cheza fails to probe drm-msm.
---
 drivers/clk/qcom/clk-rcg2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c
index 5183c74b074f8..baa249d877b8b 100644
--- a/drivers/clk/qcom/clk-rcg2.c
+++ b/drivers/clk/qcom/clk-rcg2.c
@@ -131,7 +131,7 @@ static int update_config(struct clk_rcg2 *rcg)
 	}
 
 	WARN(1, "%s: rcg didn't update its configuration.", name);
-	return -EBUSY;
+	return 0;
 }
 
 static int clk_rcg2_set_parent(struct clk_hw *hw, u8 index)
-- 
GitLab