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

Commit b77d2445 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: mdss-edp-pll: Fix possible null dereference" into msm-4.8

parents 895a3a00 ce84375c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -451,7 +451,7 @@ static unsigned long edp_mainlink_get_rate(struct clk *c)

	pclk = clk_get_parent(c);

	if (pclk->ops->get_rate) {
	if (pclk && pclk->ops->get_rate) {
		rate = pclk->ops->get_rate(pclk);
		rate /= mclk->data.div;
	}