From: Guennadi Liakhovetski Date: Wed, 9 Mar 2011 16:28:55 +0000 (+0100) Subject: mmc: tmio: only access registers above 0xff, if available X-Git-Tag: v2.6.39-rc1~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69d1fe18e92afb4687605a1ab2ec73fbc3bae344;p=pandora-kernel.git 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 Acked-by: Paul Mundt Signed-off-by: Chris Ball --- Reading git-diff-tree failed