The motion event handler is currently setup to always retrigger until there's no more motion data from the sensor. Change that to only retrigger if the motion pin is asserted when the handler has finished running, this saves a bunch of unnecessary spi transactions. Ideally this driver would use a level interrupt, but I'd rather avoid that as that is unsupported by many gpio controllers. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| input_adc_keys.c | ||
| input_analog_axis_settings.c | ||
| input_analog_axis.c | ||
| input_cap1203.c | ||
| input_cf1133.c | ||
| input_chsc6x.c | ||
| input_cst816s.c | ||
| input_esp32_touch_sensor.c | ||
| input_ft5336.c | ||
| input_gpio_kbd_matrix.c | ||
| input_gpio_keys.c | ||
| input_gpio_qdec.c | ||
| input_gt911.c | ||
| input_ite_it8xxx2_kbd.c | ||
| input_kbd_matrix.c | ||
| input_npcx_kbd.c | ||
| input_pat912x.c | ||
| input_paw32xx.c | ||
| input_pinnacle.c | ||
| input_pmw3610.c | ||
| input_sbus.c | ||
| input_sdl_touch_bottom.c | ||
| input_sdl_touch_bottom.h | ||
| input_sdl_touch.c | ||
| input_stmpe811.c | ||
| input_xec_kbd.c | ||
| input_xpt2046.c | ||
| Kconfig | ||
| Kconfig.adc_keys | ||
| Kconfig.analog_axis | ||
| Kconfig.cap1203 | ||
| Kconfig.cf1133 | ||
| Kconfig.chsc6x | ||
| Kconfig.cst816s | ||
| Kconfig.esp32 | ||
| Kconfig.evdev | ||
| Kconfig.ft5336 | ||
| Kconfig.gpio_kbd_matrix | ||
| Kconfig.gpio_keys | ||
| Kconfig.gpio_qdec | ||
| Kconfig.gt911 | ||
| Kconfig.it8xxx2 | ||
| Kconfig.kbd_matrix | ||
| Kconfig.npcx | ||
| Kconfig.pat912x | ||
| Kconfig.paw32xx | ||
| Kconfig.pinnacle | ||
| Kconfig.pmw3610 | ||
| Kconfig.sbus | ||
| Kconfig.sdl | ||
| Kconfig.stmpe811 | ||
| Kconfig.xec | ||
| Kconfig.xpt2046 | ||
| linux_evdev_bottom.c | ||
| linux_evdev_bottom.h | ||
| linux_evdev.c | ||