Skip to content

Commit

Permalink
Input: atmel_mxt_ts - orientation is not present in hover
Browse files Browse the repository at this point in the history
When in hover, the orientation information is not sent

Signed-off-by: Nick Dyer <[email protected]>
  • Loading branch information
ndyer committed Apr 26, 2016
1 parent fed1bbd commit 0c885d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/input/touchscreen/atmel_mxt_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,10 +960,6 @@ static void mxt_proc_t100_message(struct mxt_data *data, u8 *message)
distance = MXT_DISTANCE_HOVERING;
hover = true;
active = true;

if (data->t100_aux_vect)
orientation = message[data->t100_aux_vect];

break;

case MXT_T100_TYPE_FINGER:
Expand Down

0 comments on commit 0c885d5

Please sign in to comment.