Skip to content

Commit

Permalink
Input: atmel_mxt_ts - Ignore error from CHG line after bootloading
Browse files Browse the repository at this point in the history
Some bootloader versions do not assert the CHG line after bootloading has
finished, therefore we should not fail the bootloading process if it doesn't
happen.

Signed-off-by: Nick Dyer <[email protected]>
  • Loading branch information
ndyer committed May 3, 2013
1 parent 281d82c commit ab4d380
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 @@ -2490,10 +2490,7 @@ static int mxt_load_fw(struct device *dev)
dev_info(dev, "Sent %d frames, %zd bytes\n", frame, pos);

/* Wait for device to reset */
ret = mxt_wait_for_completion(data, &data->bl_completion,
MXT_FW_RESET_TIME);
if (ret)
dev_err(dev, "Device didn't reset\n");
mxt_wait_for_completion(data, &data->bl_completion, MXT_RESET_TIMEOUT);

data->in_bootloader = false;

Expand Down

0 comments on commit ab4d380

Please sign in to comment.