lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1445360280-2347-3-git-send-email-georgi.djakov@linaro.org>
Date:	Tue, 20 Oct 2015 19:57:54 +0300
From:	Georgi Djakov <georgi.djakov@...aro.org>
To:	sboyd@...eaurora.org, agross@...eaurora.org
Cc:	mturquette@...libre.com, linux-clk@...r.kernel.org,
	bjorn.andersson@...ymobile.com, linux-kernel@...r.kernel.org,
	linux-arm-msm@...r.kernel.org, georgi.djakov@...aro.org
Subject: [PATCH v3 2/8] clk: qcom: msm8916: Set the parent of xo to xo_board

Remove the hard-coded clock rate from the driver and set the XO
parent to the on-board XO oscillator that is defined in the DT.

Signed-off-by: Georgi Djakov <georgi.djakov@...aro.org>
---
 drivers/clk/qcom/gcc-msm8916.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index d0a0313d6bef..3c0668b12142 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -3360,7 +3360,7 @@ static int gcc_msm8916_probe(struct platform_device *pdev)
 	struct device *dev = &pdev->dev;
 
 	/* Temporary until RPM clocks supported */
-	clk = clk_register_fixed_rate(dev, "xo", NULL, CLK_IS_ROOT, 19200000);
+	clk = clk_register_fixed_factor(dev, "xo", "xo_board", 0, 1, 1);
 	if (IS_ERR(clk))
 		return PTR_ERR(clk);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ