diff options
Diffstat (limited to 'driver/touchpad_st.c')
-rw-r--r-- | driver/touchpad_st.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/touchpad_st.c b/driver/touchpad_st.c index efc7d2621b..01920b3778 100644 --- a/driver/touchpad_st.c +++ b/driver/touchpad_st.c @@ -1415,6 +1415,10 @@ static int st_tp_read_frame(void) uint8_t *rx_buf = usb_packet[spi_buffer_index & 1].frame; #endif + ret = st_tp_read_all_events(0); + if (ret < 0) + goto failed; + if (heat_map_addr < 0) goto failed; |