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

Commit cb0223f0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: soundwire: Add delay to over come race condition"

parents 15430858 386df4e6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2880,6 +2880,12 @@ int swrm_wcd_notify(struct platform_device *pdev, u32 id, void *data)
						__func__, swrm->state);
				else
					swrm_device_suspend(&pdev->dev);
				/*
				 * add delay to ensure clk release happen
				 * if interrupt triggered for clk stop,
				 * wait for it to exit
				 */
				usleep_range(10000, 10500);
			}
			swrm->mclk_freq = *(int *)data;
			mutex_unlock(&swrm->mlock);