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

Commit 8430a84d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: clock: Allow set_parent on clocks without the set_parent op"

parents 161549ed c1e5b6c0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -570,6 +570,9 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
{
	int rc = 0;

	if (!clk->ops->set_parent && clk->parent == parent)
		return 0;

	if (!clk->ops->set_parent)
		return -ENOSYS;