msm: mink: Avoid handling output params if TZ op returns an err
Invoke operation is processed at couple of places in trusted env;
in TZ kernel and/or in TZ apps. If TZ kernel returns an error,
SMCInvoke driver does not process output params and returns
appropriate err to userspace. However, if error is returned from
trusted apps, SMCInvoke still processes output params and returns error
to userspace. Now, SMCInvoke driver will not process output params if
trusted app returns an error. Userspace is also expected to follow the
same rule.
Change-Id: Ic58e37ba714d4b384e3fa9206419c69ddd852b4a
Signed-off-by:
Dinesh K Garg <dineshg@codeaurora.org>
Loading
Please register or sign in to comment