mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
drm/i915/gsc: Fix error code in intel_gsc_uc_heci_cmd_submit_nonpriv()
This should return negative -EAGAIN instead of positive EAGAIN.
Fixes: e5e1e6d28e
("drm/i915/pxp: Add MTL helpers to submit Heci-Cmd-Packet to GSC")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ZH7sr+Vs4zOQoouU@moroto
This commit is contained in:
parent
589f4924e8
commit
24335848e5
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ intel_gsc_uc_heci_cmd_submit_nonpriv(struct intel_gsc_uc *gsc,
|
|||
if (++trials < 10)
|
||||
goto retry;
|
||||
else
|
||||
err = EAGAIN;
|
||||
err = -EAGAIN;
|
||||
}
|
||||
}
|
||||
i915_gem_ww_ctx_fini(&ww);
|
||||
|
|
Loading…
Reference in a new issue