[PATCH v3 3/4] gpio: imx-rpmsg: add imx-rpmsg GPIO driver

Andrew Lunn andrew at lunn.ch
Mon Oct 13 12:14:23 PDT 2025


> For instance, if we define the error code as 1 in the return
> message, the driver will interpret it and just return -EOPNOTSUPP,
> regardless of the architecture.

Yes, that is fine. Document the values the return code can take, and
what the mean. What we don't want is the protocol directly returning
errno values, because they are architecture specific.

     Andrew



More information about the linux-arm-kernel mailing list