diff options
| author | Veerabhadrarao Badiganti <vbadigan@codeaurora.org> | 2017-10-09 21:25:05 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-11-24 06:03:15 -0800 |
| commit | e8dce7e56dfc825a43fd775fe81d54cae21d2232 (patch) | |
| tree | 915457c98379143320eba8e1715745791f17b20b /lib/clz_ctz.c | |
| parent | 48f0cccb8c234698a76f3af4241e76a0ef8f1eab (diff) | |
mmc: card: Requeue the request if it fails during issuing
In the cmdq request issuing path, cq driver invokes ICE driver calls
to get the configuration for encrypting/decrypting the data requests.
The ice driver in-turn makes calls to secure world (TZ) which can
process only single task at a time. If TZ is busy in servicing
something else when ICE driver invokes it, ICE driver would return
-EBUSY to cmdq driver.
The requests which failed due to ice error are neither issued to h/w
nor errored out, so resulting in filesystem corruptions.
We must re-queue the requests which failed with -EBUSY error, so that
it will be re-issued again as very next request.
Change-Id: I4557a5c3aca8dd53740e48e516e6011787df50d8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Diffstat (limited to 'lib/clz_ctz.c')
0 files changed, 0 insertions, 0 deletions
