mmc, sh: Correct value for reset
authorSimon Horman <horms@verge.net.au>
Fri, 26 Nov 2010 23:02:58 +0000 (23:02 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Nov 2010 03:54:50 +0000 (12:54 +0900)
commit1ae0affedce1d3e401991fbe7f2674753f0a7641
tree0df282400a9e16d6a8ad131359c4794b7154de48
parent7211a1bae6eac26539eb2d77a26fcd1bccef8137
mmc, sh: Correct value for reset

This resolves a regression that I introduced in
"mmc, sh: Move constants to sh_mmcif.h". Having
examined the manual and tested the code on an AP4EVB board
it seems that the correct sequence is.

1) Write 1 to bit 31 and zeros to all other bits
2) Write zero to all bits

Cc: Yusuke Goda <yusuke.goda.sx@renesas.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/linux/mmc/sh_mmcif.h