This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit edfa12816f536777b3867ce7ecca890dd38e9bed
Author: yangsong8 <[email protected]>
AuthorDate: Thu Oct 22 23:42:37 2026 +0800

    drivers/ioexpander: enable RT priority on ioe_rpmsg client endpoint
    
    The ioe_rpmsg client reply callback only records the result and posts
    the waiting caller; it never blocks. Set the client endpoint to
    RPMSG_PRIO_RT so replies dispatch inline in the RX interrupt instead of
    the rpmsg work queue.
    
    Signed-off-by: yangsong8 <[email protected]>
---
 drivers/ioexpander/ioe_rpmsg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ioexpander/ioe_rpmsg.c b/drivers/ioexpander/ioe_rpmsg.c
index 96a615614a8..16a6c12b84b 100644
--- a/drivers/ioexpander/ioe_rpmsg.c
+++ b/drivers/ioexpander/ioe_rpmsg.c
@@ -571,6 +571,7 @@ static void ioe_rpmsg_client_created(FAR struct 
rpmsg_device *rdev,
       snprintf(eptname, RPMSG_NAME_SIZE, IOE_RPMSG_EPT_FORMAT, priv->name);
 
       priv->ept.priv = priv;
+      rpmsg_set_priority(&priv->ept, RPMSG_PRIO_RT);
       rpmsg_create_ept(&priv->ept, rdev, eptname, RPMSG_ADDR_ANY,
                        RPMSG_ADDR_ANY, ioe_rpmsg_client_ept_cb, NULL);
 

Reply via email to