Commit 514afee
committed
rpmsg_virtio.c: fix get_tx_payload_buffer error
driver/rptun_notify_wait and driver/rpmsg_virtio_notify_wait may
return -EAGAIN, so if only judge status == RPMSG_EOPNOTSUPP,it will
cause busy loop in rpmsg_virtio_get_tx_payload_buffer;
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>1 parent c468328 commit 514afee
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | 396 | | |
399 | 397 | | |
400 | 398 | | |
| |||
0 commit comments