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

Commit 9debe5d9 authored by Seemanta Dutta's avatar Seemanta Dutta Committed by Stephen Boyd
Browse files

subsystem_restart: Log an error message when error ready times out



Log an error message when the error ready interrupt from a subsystem
times out.

Change-Id: Ia10f1462787bc7fec9834c4e7d2f429697a299e7
Signed-off-by: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent 31200b96
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -427,8 +427,10 @@ static int wait_for_err_ready(struct subsys_device *subsys)

	ret = wait_for_completion_timeout(&subsys->err_ready,
					  msecs_to_jiffies(10000));
	if (!ret)
	if (!ret) {
		pr_err("[%s]: Error ready timed out\n", subsys->desc->name);
		return -ETIMEDOUT;
	}

	return 0;
}