Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251897

[PATCH v3 3/8] clk: qcom: msm8916: Ignore sleep_clk_src registration errors

From Georgi Djakov <georgi.djakov@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v3 3/8] clk: qcom: msm8916: Ignore sleep_clk_src registration errors
Date 2015-10-20 19:10 +0200
Message-ID <qlIAb-1CH-29@gated-at.bofh.it> (permalink)
References <qlIqt-1ak-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <georgi.djakov@linaro.org>
---
 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-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/8] Add initial support for RPM clocks Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:00 +0200
  [PATCH v3 2/8] clk: qcom: msm8916: Set the parent of xo to xo_board Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:00 +0200
    Re: [PATCH v3 2/8] clk: qcom: msm8916: Set the parent of xo to  xo_board Stephen Boyd <sboyd@codeaurora.org> - 2015-10-26 23:50 +0100
  [PATCH v3 8/8] clk: qcom: msm8916: Remove hard-coded sleep_clk_src Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:00 +0200
  [PATCH v3 6/8] clk: qcom: Add RPM clock controller driver Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:00 +0200
    Re: [PATCH v3 6/8] clk: qcom: Add RPM clock controller driver Stephen Boyd <sboyd@codeaurora.org> - 2015-10-28 00:30 +0100
  [PATCH v3 5/8] clk: qcom: Add support for RPM Clocks Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:10 +0200
    Re: [PATCH v3 5/8] clk: qcom: Add support for RPM Clocks Stephen Boyd <sboyd@codeaurora.org> - 2015-10-28 00:20 +0100
  [PATCH v3 1/8] arm64: dts: qcom: 8x16: Add fixed rate on-board oscillator Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:10 +0200
    Re: [PATCH v3 1/8] arm64: dts: qcom: 8x16: Add fixed rate on-board  oscillator Andy Gross <agross@codeaurora.org> - 2015-10-22 05:00 +0200
    Re: [PATCH v3 1/8] arm64: dts: qcom: 8x16: Add fixed rate on-board  oscillator Stephen Boyd <sboyd@codeaurora.org> - 2015-10-28 00:20 +0100
  [PATCH v3 4/8] arm64: dts: qcom: 8x16: Add fixed rate sleep clock oscillator Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:10 +0200
  [PATCH v3 3/8] clk: qcom: msm8916: Ignore sleep_clk_src registration errors Georgi Djakov <georgi.djakov@linaro.org> - 2015-10-20 19:10 +0200
    Re: [PATCH v3 3/8] clk: qcom: msm8916: Ignore sleep_clk_src  registration errors Stephen Boyd <sboyd@codeaurora.org> - 2015-10-26 23:50 +0100

csiph-web