From: Per Forlin Date: Fri, 19 Aug 2011 12:52:37 +0000 (+0200) Subject: mmc: core: add random fault injection X-Git-Tag: v3.2-rc1~129^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b676f70c108cda90cf9d114d16c677584400efc;p=pandora-kernel.git 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 Acked-by: Akinobu Mita Reviewed-by: Linus Walleij Signed-off-by: Chris Ball --- Reading git-diff-tree failed