diff options
Diffstat (limited to 'drivers/input/touchscreen/mms136.c')
| -rw-r--r-- | drivers/input/touchscreen/mms136.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/input/touchscreen/mms136.c b/drivers/input/touchscreen/mms136.c index c4b38038bbd..a45df71e6da 100644 --- a/drivers/input/touchscreen/mms136.c +++ b/drivers/input/touchscreen/mms136.c @@ -144,8 +144,7 @@ static bool fw_updater(struct ts_data *ts, char const *mode) if (request_firmware(&fw, ts->platform_data->fw_name, &client->dev)) { pr_err("tsp: fail to request built-in firmware\n"); - ret = false; - goto out; + return true; } if (ts_read_reg_data(ts, TS_READ_VERSION_ADDR, 4, buf) > 0) { @@ -456,15 +455,6 @@ static int __devinit ts_probe(struct i2c_client *client, ts->early_suspend.resume = ts_late_resume; register_early_suspend(&ts->early_suspend); #endif - /* Check to fw. update necessity */ - if (!fw_updater(ts, "normal")) { - i = 3; - pr_err("tsp: ts_probe: fw. update failed. retry %d", i); - while (i--) { - if (fw_updater(ts, "force")) - break; - } - } if (ts->client->irq) { tsp_log("trying to request irq: %s-%d", |
