diff options
| author | davidevinavil <davidevinavil@gmail.com> | 2017-06-19 02:40:17 +0200 |
|---|---|---|
| committer | Davide Garberi <dade.garberi@gmail.com> | 2022-07-27 18:58:53 +0200 |
| commit | 4583cf96eaef09ddc04cb42d3e68a3fa9b24e7f5 (patch) | |
| tree | bb8f9feef8c48b64ee1ea6653cd3dc367bba0265 /drivers/input | |
| parent | 8e5dc8c03fa3bf7c9ea93bb9ff51a5d50f963106 (diff) | |
gt9x_2.4: Fix proximity check over dt2w
Change-Id: I988c25b85dca381b73fb47b06276bc7fa1ad8772
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'drivers/input')
| -rw-r--r-- | drivers/input/touchscreen/gt9x_2.4/gt9xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/gt9x_2.4/gt9xx.c b/drivers/input/touchscreen/gt9x_2.4/gt9xx.c index c587138a6ab5..8678207bc9f2 100644 --- a/drivers/input/touchscreen/gt9x_2.4/gt9xx.c +++ b/drivers/input/touchscreen/gt9x_2.4/gt9xx.c @@ -613,8 +613,8 @@ static void goodix_ts_work_func(struct work_struct *work) return; } #if GTP_GESTURE_WAKEUP - if (DOZE_ENABLED == doze_status) - { + if (DOZE_DISABLED != doze_status) + { ret = gtp_i2c_read(i2c_connect_client, doze_buf, 3); GTP_DEBUG("0x814B = 0x%02X", doze_buf[2]); if (ret > 0) |
