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, 11 Feb 2013 18:28:31 +0000 (13:28 -0500)
commitaba9d646785c8b1decb1a15ee157b0179a15bef9
treeb742cb20485884710d39730328ee9e921b1d7a8c
parent8047310ee984b3efe932ee5b561f2523396466dd
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