Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250490
b: refs/heads/master
c: 08960a0
h: refs/heads/master
v: v3
  • Loading branch information
Iiro Valkonen authored and Dmitry Torokhov committed Apr 13, 2011
1 parent 8720d3d commit 8a59b58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 910d80513056589d3b12b3aad8598d19e0a0a5bd
refs/heads/master: 08960a070add74cda8c968b8ace5418a5acf17c3
12 changes: 8 additions & 4 deletions trunk/drivers/input/touchscreen/atmel_mxt_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,10 +814,6 @@ static int mxt_initialize(struct mxt_data *data)
if (error)
return error;

error = mxt_make_highchg(data);
if (error)
return error;

mxt_handle_pdata(data);

/* Backup to memory */
Expand Down Expand Up @@ -1005,6 +1001,10 @@ static ssize_t mxt_update_fw_store(struct device *dev,

enable_irq(data->irq);

error = mxt_make_highchg(data);
if (error)
return error;

return count;
}

Expand Down Expand Up @@ -1115,6 +1115,10 @@ static int __devinit mxt_probe(struct i2c_client *client,
goto err_free_object;
}

error = mxt_make_highchg(data);
if (error)
goto err_free_irq;

error = input_register_device(input_dev);
if (error)
goto err_free_irq;
Expand Down

0 comments on commit 8a59b58

Please sign in to comment.