: lis302dl-threshold-configuration-in-mg.patch
commitb18d26086d9b5516ac6c93cfffe3b4463ef4cc65
authorSimon Kagstrom <simon.kagstrom@gmail.com>
Thu, 16 Oct 2008 00:19:29 +0000 (16 01:19 +0100)
committerMike Westerhof <mwester@dls.net>
Mon, 20 Oct 2008 04:24:55 +0000 (19 23:24 -0500)
treeee3a69815002b3ad85fff5b60f91c5c51f2d61b6
parent107130dd6ab44a8a0511ce9796f09cb30028e062
: lis302dl-threshold-configuration-in-mg.patch

Change the threshold configuration to be set in mg instead

From: Simon Kagstrom <simon.kagstrom@gmail.com>

This patch changes the threshold sysfs file to handle values in mg
instead of the device-values. Overrun values have also been corrected
and the sampler function now honors the FS bit.

Signed-off-by: Simon Kagstrom <simon.kagstrom@gmail.com>
drivers/input/misc/lis302dl.c