aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorKOBAYASHI Yoshitake <yoshitake.kobayashi@toshiba.co.jp>2013-07-07 07:35:45 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-08 07:29:42 -0800
commit98048d9b597625034b47f7e0bd04595b6002a045 (patch)
tree63ed2a8d80b415d6ac9c164c6790a61a234cfba9 /block
parent12c1f610fe8574b5ea9374344f1684b5d972d50b (diff)
mmc: block: fix a bug of error handling in MMC driver
commit c8760069627ad3b0dbbea170f0c4c58b16e18d3d upstream. Current MMC driver doesn't handle generic error (bit19 of device status) in write sequence. As a result, write data gets lost when generic error occurs. For example, a generic error when updating a filesystem management information causes a loss of write data and corrupts the filesystem. In the worst case, the system will never boot. This patch includes the following functionality: 1. To enable error checking for the response of CMD12 and CMD13 in write command sequence 2. To retry write sequence when a generic error occurs Messages are added for v2 to show what occurs. Signed-off-by: KOBAYASHI Yoshitake <yoshitake.kobayashi@toshiba.co.jp> Signed-off-by: Chris Ball <cjb@laptop.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions