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: Sarannya S <sarannya@codeaurora.org>
This commit is contained in:
parent
d079ef6772
commit
99ac515580
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue