ipm: Correct IPM API error codes
Indicates that error codes are negative. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
e770c8d855
commit
07bee26f8f
1 changed files with 7 additions and 7 deletions
|
@ -122,9 +122,9 @@ struct ipm_driver_api {
|
|||
* @param data Pointer to the data sent in the message.
|
||||
* @param size Size of the data.
|
||||
*
|
||||
* @retval EBUSY If the remote hasn't yet read the last data sent.
|
||||
* @retval EMSGSIZE If the supplied data size is unsupported by the driver.
|
||||
* @retval EINVAL If there was a bad parameter, such as: too-large id value.
|
||||
* @retval -EBUSY If the remote hasn't yet read the last data sent.
|
||||
* @retval -EMSGSIZE If the supplied data size is unsupported by the driver.
|
||||
* @retval -EINVAL If there was a bad parameter, such as: too-large id value.
|
||||
* or the device isn't an outbound IPM channel.
|
||||
* @retval 0 On success.
|
||||
*/
|
||||
|
@ -201,7 +201,7 @@ static inline u32_t z_impl_ipm_max_id_val_get(struct device *ipmdev)
|
|||
* @param enable Set to 0 to disable and to nonzero to enable.
|
||||
*
|
||||
* @retval 0 On success.
|
||||
* @retval EINVAL If it isn't an inbound channel.
|
||||
* @retval -EINVAL If it isn't an inbound channel.
|
||||
*/
|
||||
__syscall int ipm_set_enabled(struct device *ipmdev, int enable);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue