From: Linus Walleij Date: Fri, 28 May 2010 00:59:44 +0000 (+0200) Subject: mfd: AB8500 mask off irrelevant bits from the SPI message X-Git-Tag: v2.6.36-rc1~59^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0d4010e11e23d6f55f9bdda63b1974f35af71bf;p=pandora-kernel.git mfd: AB8500 mask off irrelevant bits from the SPI message The registers on the AB8500 are only 8 bits wide, so the content of the remaining bits is undefined. Let's mask off the undefined stuff when returning a register in an SPI read. Acked-by: Rabin Vincent Signed-off-by: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed