diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-09 17:28:55 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-25 10:39:49 -0400 |
commit | 69d1fe18e92afb4687605a1ab2ec73fbc3bae344 (patch) | |
tree | f9cf934890b958d1d593405c8399d5ba973c11e7 /arch/sh | |
parent | 52c6182a47fa66ad5f2647a831efa99c05b0a54e (diff) | |
download | linux-69d1fe18e92afb4687605a1ab2ec73fbc3bae344.tar.bz2 |
mmc: tmio: only access registers above 0xff, if available
Not all tmio implementations have registers above oxff. Accessing
them on thise platforms is dangerous. In some cases it leads to
address wrapping to addresses below 0x100, which corrupts random
unrelated registers.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions