commit | c0d4010e11e23d6f55f9bdda63b1974f35af71bf | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@stericsson.com> | Fri May 28 02:59:44 2010 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Aug 12 11:27:18 2010 +0200 |
tree | 862ea68bf95e6f8d57d8a94c2b24d1c48ff9298b | |
parent | eb6e8ddf06ff0d6b6548ca0b95a4edfeb2aaadd0 [diff] |
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 <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>