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

Commit 99ac5155 authored by Sarannya S's avatar Sarannya S
Browse files

net: qrtr: Change error logging in callback



Print error logs in the callback by using pr_err_ratelimited
so that watchdog bark will not occur due to excessive logging
when the callback is triggered before probe is completed.

Change-Id: I82bb84b7812cef5cb8a37e99c5cf1a54411cbdb8
Signed-off-by: default avatarSarannya S <sarannya@codeaurora.org>
parent d079ef67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ static int qcom_smd_qrtr_callback(struct rpmsg_device *rpdev,
	int rc;

	if (!qdev) {
		pr_err("%s:Not ready\n", __func__);
		pr_err_ratelimited("%s:Not ready\n", __func__);
		return -EAGAIN;
	}