Skip to content

Commit

Permalink
Input: atmel_mxt_ts - Ignore reset error when T7 config zero
Browse files Browse the repository at this point in the history
The reset completion may time out when in deep sleep, because the device will
only produce a T6 status of 0 when it goes through a acquisition cycle.

Signed-off-by: Nick Dyer <[email protected]>
  • Loading branch information
ndyer committed Apr 12, 2013
1 parent 65d8134 commit fdc39b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/input/touchscreen/atmel_mxt_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -1618,10 +1618,7 @@ static int mxt_init_t7_power_cfg(struct mxt_data *data)
if (data->t7_cfg.active == 0 || data->t7_cfg.idle == 0) {
if (!retry) {
dev_info(dev, "T7 cfg zero, resetting\n");
error = mxt_soft_reset(data);
if (error)
return error;

mxt_soft_reset(data);
retry = true;
goto recheck;
} else {
Expand Down

0 comments on commit fdc39b4

Please sign in to comment.