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

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

Merge "soc: swr-mstr: Reinit clk off signal before waiting"

parents 71d091e2 7f6462eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2110,9 +2110,10 @@ int swrm_wcd_notify(struct platform_device *pdev, u32 id, void *data)
		break;
	case SWR_DEVICE_SSR_UP:
		/* wait for clk voting to be zero */
		reinit_completion(&swrm->clk_off_complete);
		if (swrm->clk_ref_count &&
			 !wait_for_completion_timeout(&swrm->clk_off_complete,
						   (1 * HZ/100)))
						   msecs_to_jiffies(200)))
			dev_err(swrm->dev, "%s: clock voting not zero\n",
				__func__);