Skip to content
Commit 4b5d95b3 authored by Éric Piel's avatar Éric Piel Committed by Linus Torvalds
Browse files

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: default avatarKalhan Trisal <kalhan.trisal@intel.com>
Reported-by: default avatarChristoph Plattner <christoph.plattner@gmx.at>
Tested-by: default avatarChristoph Plattner <christoph.plattner@gmx.at>
Tested-by: default avatarSamu Onkalo <samu.p.onkalo@nokia.com>
Signed-off-by: default avatarÉric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: default avatarSamu Onkalo <samu.p.onkalo@nokia.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bc62c147
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment