2011/8/19 Per Forlin per.forlin@stericsson.com:
From: Per Forlin per.forlin@linaro.org
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
OK!
Reviewed-by: Linus Walleij linus.walleij@linaro.org For the MMC portions in 2/3.
Linus Walleij