OSDN Git Service

init.sh: fix sensors support of EZpad
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 21 Jan 2019 08:52:51 +0000 (16:52 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 21 Jan 2019 08:52:51 +0000 (16:52 +0800)
Tested-by: Yu Zhao <zhaoyu574249312@gmail.com>
init.sh

diff --git a/init.sh b/init.sh
index d6257ac..fae2433 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -271,7 +271,10 @@ function init_hal_sensors()
                *ST70416-6*)
                        set_property ro.iio.accel.order 102
                        ;;
-               *T*0*TA*|*pnEZpad*)
+               *pnEZpad*)
+                       set_property ro.iio.accel.quirks no-trig
+                       ;&
+               *T*0*TA*)
                        set_property ro.iio.accel.y.opt_scale -1
                        ;;
                *)