diff options
| -rw-r--r-- | drivers/input/touchscreen/atmel_mxt_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 97495c7edae8..6e0b4a2120d3 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c | |||
| @@ -434,7 +434,7 @@ static u8 mxt_get_bootloader_version(struct mxt_data *data, u8 val) | |||
| 434 | if (val & MXT_BOOT_EXTENDED_ID) { | 434 | if (val & MXT_BOOT_EXTENDED_ID) { |
| 435 | if (mxt_bootloader_read(data, &buf[0], 3) != 0) { | 435 | if (mxt_bootloader_read(data, &buf[0], 3) != 0) { |
| 436 | dev_err(dev, "%s: i2c failure\n", __func__); | 436 | dev_err(dev, "%s: i2c failure\n", __func__); |
| 437 | return -EIO; | 437 | return val; |
| 438 | } | 438 | } |
| 439 | 439 | ||
| 440 | dev_dbg(dev, "Bootloader ID:%d Version:%d\n", buf[1], buf[2]); | 440 | dev_dbg(dev, "Bootloader ID:%d Version:%d\n", buf[1], buf[2]); |
