Commit 2f6eb4f
committed
rpmsg_virtio: fix rpmsg_virtio_get_tx_payload_buffer() error
If rpmsg_virtio_notify_wait() returns RPMSG_SUCCESS, we should not
directly return NULL instead call rpmsg_virtio_get_tx_buffer to get
the tx buffer again.
Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>1 parent a69881f commit 2f6eb4f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
0 commit comments