Skip to content

Commit

Permalink
input: touchscreen: nt36525: Invert reported proximity values
Browse files Browse the repository at this point in the history
* On stock higher value indicates closer proximity while on AOSP it is expected to be the other way around

Change-Id: Ia4e95f2c656397fe58872a5d6bcacdc614418bb7
  • Loading branch information
ap4ss3rby authored and A2L5E0X1 committed Apr 13, 2022
1 parent 04bd8f5 commit d7ab9be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/touchscreen/novatek/nt36525/nt36xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1729,6 +1729,7 @@ void nvt_ts_proximity_report(uint8_t *data)
}

status = p_event_proximity->status;
status = !status;

input_info(true, &ts->client->dev,"proximity->status = %d\n", status);

Expand Down

0 comments on commit d7ab9be

Please sign in to comment.