diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-08-19 12:52:37 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 19:43:34 (GMT) |
commit | 1b676f70c108cda90cf9d114d16c677584400efc (patch) | |
tree | 7f4a18ade6db764ba3c882e294040a91adc2911e /fs/jffs2 | |
parent | df87ecbf19109bab04a92df047a9949838206abc (diff) | |
download | linux-fsl-qoriq-1b676f70c108cda90cf9d114d16c677584400efc.tar.xz |
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: Per Forlin <per.forlin@linaro.org>
Acked-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions