mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "rpmsg: glink: Change error logging to avoid throttling"
This commit is contained in:
commit
58992ee3c2
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ do { \
|
|||
if (ch->glink) { \
|
||||
ipc_log_string(ch->glink->ilc, "%s[%d:%d] %s: "x, ch->name, \
|
||||
ch->lcid, ch->rcid, __func__, ##__VA_ARGS__); \
|
||||
dev_err(ch->glink->dev, "[%s]: "x, __func__, ##__VA_ARGS__); \
|
||||
dev_err_ratelimited(ch->glink->dev, "[%s]: "x, __func__, ##__VA_ARGS__); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
|
@ -1069,7 +1069,7 @@ static int qcom_glink_rx_data(struct qcom_glink *glink, size_t avail)
|
|||
channel->ept.priv,
|
||||
RPMSG_ADDR_ANY);
|
||||
|
||||
if (ret < 0) {
|
||||
if (ret < 0 && ret != -ENODEV) {
|
||||
CH_ERR(channel,
|
||||
"callback error ret = %d\n", ret);
|
||||
ret = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue