iio: mma8452: Add support for transient event debouncing
authorMartin Fuzzey <mfuzzey@parkeon.com>
Mon, 1 Jun 2015 13:39:54 +0000 (15:39 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 7 Jun 2015 16:19:36 +0000 (17:19 +0100)
commit5dbbd19f11846574e9143ae96da8603017cf823b
treecde152168d004d1cea43826eccf6c5cc22e3e772
parent28e3427824ccc864b2866905eb10278c584b461d
iio: mma8452: Add support for transient event debouncing

Allow the debouce counter for transient events to be configured
using the sysfs attribute events/in_accel_thresh_rising_period

Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma8452.c