Commit 603345c
committed
rpmsg_virtio.c: fix get_tx_payload_buffer error
1. 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;
2. remove redundant logic of continue.
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>1 parent e2f80cb commit 603345c
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
392 | 390 | | |
393 | 391 | | |
394 | 392 | | |
| |||
0 commit comments