mmc: sh-mmcif: reset error code for any opcode
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 12 Dec 2012 14:38:15 +0000 (15:38 +0100)
committerChris Ball <cjb@laptop.org>
Mon, 28 Jan 2013 11:51:33 +0000 (06:51 -0500)
commit33e69c7b4821818fb758c5437a7bc50d06f37dde
tree50311bd9ae5f8ad04bc0dd5a688f668794465651
parentf20bec813edbef479bfc771abd037fc92e1ddf02
mmc: sh-mmcif: reset error code for any opcode

If a command execution has produced an error, it has to be reset as a part
of the error handling.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c