We are moving the sleep clock to the DT. While all patches
are merged, we will ignore sleep_clk_src registration errors.
By ignoring this error, the msm8916 boards will continue booting
during this transition period, otherwise the clock controller
initialization will fail.

Signed-off-by: Georgi Djakov <[email protected]>
---
 drivers/clk/qcom/gcc-msm8916.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 3c0668b12142..4bb7d8415ba7 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -3364,10 +3364,8 @@ static int gcc_msm8916_probe(struct platform_device 
*pdev)
        if (IS_ERR(clk))
                return PTR_ERR(clk);
 
-       clk = clk_register_fixed_rate(dev, "sleep_clk_src", NULL,
-                                     CLK_IS_ROOT, 32768);
-       if (IS_ERR(clk))
-               return PTR_ERR(clk);
+       clk_register_fixed_rate(dev, "sleep_clk_src", NULL,
+                               CLK_IS_ROOT, 32768);
 
        return qcom_cc_probe(pdev, &gcc_msm8916_desc);
 }
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to