Skip to content
Commit 1b676f70 authored by Per Forlin's avatar Per Forlin Committed by Chris Ball
Browse files

mmc: core: add random fault injection



This adds support to inject data errors after a completed host transfer.
The mmc core will return error even though the host transfer is successful.
This simple fault injection proved to be very useful to test the
non-blocking error handling in the mmc_blk_issue_rw_rq().
Random faults can also test how the host driver handles pre_req()
and post_req() in case of errors.

Signed-off-by: default avatarPer Forlin <per.forlin@linaro.org>
Acked-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent df87ecbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment