commit | 4b5d95b3809bcd77599122494aa3f575cd6ab1b9 | [log] [tgz] |
---|---|---|
author | Éric Piel <[email protected]> | Mon Dec 14 18:01:40 2009 -0800 |
committer | Linus Torvalds <[email protected]> | Tue Dec 15 08:53:36 2009 -0800 |
tree | 1c3a0d267ec911353404e77e3cd4f01d3e930584 | |
parent | bc62c1471773fc32adcfc05100abd16fa2b6e126 [diff] |
lis3: fix show rate for 8 bits chips Originally the driver was only targeted to 12bits sensors. When support for 8bits sensors was added, some slight difference in the registers were overlooked. This should fix it, both for initialization, and for displaying the rate. Reported-by: Kalhan Trisal <[email protected]> Reported-by: Christoph Plattner <[email protected]> Tested-by: Christoph Plattner <[email protected]> Tested-by: Samu Onkalo <[email protected]> Signed-off-by: Éric Piel <[email protected]> Signed-off-by: Samu Onkalo <[email protected]> Cc: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>