Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b586c72 authored by Taniya Das's avatar Taniya Das
Browse files

clk: qcom: Register gcc debug mux with clock_debug functionality



clock_debug_mux is required for the 'measure' functionality of the clock,
register using the clk_register_debug for the same.

Change-Id: I95b64ddd3ef3d869cf3b8ad2b4210ea78ba8f5fa
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 947428e5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@

#include "clk-alpha-pll.h"
#include "clk-branch.h"
#include "clk-debug.h"
#include "common.h"
#include "clk-pll.h"
#include "clk-regmap.h"
@@ -3328,6 +3329,10 @@ static int clk_debug_660_probe(struct platform_device *pdev)
		return PTR_ERR(clk);
	}

	ret = clk_register_debug(&gcc_debug_mux.hw);
	if (ret)
		dev_err(&pdev->dev, "Could not register Measure clock\n");
	else
		dev_info(&pdev->dev, "Registered debug mux successfully\n");

	return ret;