mbox series

[0/1] rpmsg: char - treat `ENOMEM` as `EAGAIN`

Message ID 20220214093020.1765833-1-tim@klingt.org (mailing list archive)
Headers show
Series rpmsg: char - treat `ENOMEM` as `EAGAIN` | expand

Message

Tim Blechmann Feb. 14, 2022, 9:30 a.m. UTC
This patch should allow the use of `rpmsg_char` character devices with
libraries that do a `poll`/`write` loop and expect `EAGAIN` when sending
fails and the user space application needs to `poll` to wait for more
space to be available.
`boost::asio::write` is a notable example of a library, which implements
such a loop.


Tim Blechmann (1):
  rpmsg: char - treat `ENOMEM` as `EAGAIN`

 drivers/rpmsg/rpmsg_char.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)