Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cfd9484c authored by Puneet Yatnal's avatar Puneet Yatnal
Browse files

driver: input: sensors: SMI130 early buffer implemented



This patch allows to buffer SMI130 accel and gyro samples from driver
up to time till user space services are up and running
(or upto nth second). Buffered samples can be retrived at any time via
input subsystem by writing to below sysfs entry.
echo 1 > /sys/class/input/input*/read_acc_boot_sample
echo 1 > /sys/class/input/input*/read_gyro_boot_sample
Use config option to enable buffering feature.

Change-Id: I25109fa17bb0bea900b07c70adcb46fad34cd5c6
Signed-off-by: default avatarPuneet Yatnal <puneet@codeaurora.org>
parent 6fde3c2d
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