commit | 69d1fe18e92afb4687605a1ab2ec73fbc3bae344 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Wed Mar 09 17:28:55 2011 +0100 |
committer | Chris Ball <cjb@laptop.org> | Fri Mar 25 10:39:49 2011 -0400 |
tree | f9cf934890b958d1d593405c8399d5ba973c11e7 | |
parent | 52c6182a47fa66ad5f2647a831efa99c05b0a54e [diff] |
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>