SYSLINK: sysmgr - ioctl call to stopcallback sets return status
In sysmgr_ioctl, the execution of CMD_SYSMGR_STOPCALLBACK does not set the
return value in cargs.api_status. This caused an error sometimes because the
status was uninitialized. Now it sets the status to 0 just like for the cases
of CMD_SYSMGR_LOADCALLBACK and CMD_SYSMGR_STARTCALLBACK. Note that since the
platform callbacks return void, we must set the api_status manually.
Signed-off-by: Simon Que <sque@ti.com>
Showing
Please register or sign in to comment