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

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

Merge "pinctrl: qcom: Fix bug in iteration through functions"

parents a4676271 22b8b660
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -895,7 +895,7 @@ static void msm_pinctrl_setup_pm_reset(struct msm_pinctrl *pctrl)
	int i = 0;
	const struct msm_function *func = pctrl->soc->functions;

	for (; i <= pctrl->soc->nfunctions; i++)
	for (; i < pctrl->soc->nfunctions; i++)
		if (!strcmp(func[i].name, "ps_hold")) {
			pctrl->restart_nb.notifier_call = msm_ps_hold_restart;
			pctrl->restart_nb.priority = 128;