From: Éric Piel Date: Tue, 15 Dec 2009 02:01:40 +0000 (-0800) Subject: lis3: fix show rate for 8 bits chips X-Git-Tag: v2.6.33-rc1~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b5d95b3809bcd77599122494aa3f575cd6ab1b9;p=pandora-kernel.git 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 Reported-by: Christoph Plattner Tested-by: Christoph Plattner Tested-by: Samu Onkalo Signed-off-by: Éric Piel Signed-off-by: Samu Onkalo Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed