diff options
author | Nelson Castillo <nelsoneci@gmail.com> | 2008-11-19 17:11:25 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:11:25 +0000 |
commit | 3880c3963d398e90c6737849955bdf20c61b64b9 (patch) | |
tree | 1219632ff163ca5d9fa38515b0ad20c081eb3099 /drivers/mfd/glamo/glamo-fb.c | |
parent | 4c68341d014cdd5142882377f326672ed382f80f (diff) |
Subject: [PATCH 1/2] fix-gta02_lis302dl_bitbang.patch
Make accelerometers work again in stable-tracking.
They stopped working with a previous commit.
(shifter >> 7) & 1); ...; shifter <<= 1;
Had been changed to:
(shifter >> (7 - n)) & 1) /* assuming tx_bytes == 1 */
The problem: an unneeded shifter <<= 1 was still there.
We make a small change to the indexing code to make things work again.
Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
Diffstat (limited to 'drivers/mfd/glamo/glamo-fb.c')
0 files changed, 0 insertions, 0 deletions