diff options
author | Yang Shen <[email protected]> | 2020-09-25 22:06:16 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2020-10-02 18:02:14 +1000 |
commit | 42856f0a5a72080ec3424550572100e698e5043e (patch) | |
tree | e7c8e709de2d5673f7dd36d378b7a1ae0d50c1f5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d340f62db2f6da7f6f05087a4f6f504af9bb4d97 (diff) |
crypto: hisilicon/zip - fix the return value when device is busy
As before, when the ZIP device is too busy to creat a request, it will
return '-EBUSY'. But the crypto process think the '-EBUSY' means a
successful request and wait for its completion.
So replace '-EBUSY' with '-EAGAIN' to show crypto this request is failed.
Fixes: 62c455ca853e("crypto: hisilicon - add HiSilicon ZIP...")
Signed-off-by: Yang Shen <[email protected]>
Reviewed-by: Zhou Wang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions