diff options
author | Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> | 2011-01-07 19:06:21 +0530 |
---|---|---|
committer | Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> | 2011-01-10 06:28:14 +0100 |
commit | dc6368a6f167c8554fcad31b5cc5ce35cc0068b3 (patch) | |
tree | 38c28fe92cd8c070a9bae8e4d1fc7d9c907c3af6 /drivers/input | |
parent | 9fd2bd08ebf20b9530f0400d6b553643392b590f (diff) |
bu21013: bu21013 chip power up configuration
Configuration for the bu21013 touch panel controller lower
threshold is erroneous
St-Ericsson Id: ER 318776
Change-Id: I546885be2a1d950365a7109ef3f6b36166964b33
Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11979
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/bu21013_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c index b2478e25f4f..ff79e903ef6 100644 --- a/drivers/input/touchscreen/bu21013_ts.c +++ b/drivers/input/touchscreen/bu21013_ts.c @@ -571,7 +571,7 @@ static int bu21013_init_chip(struct bu21013_ts_data *data, bool on_ext_clk) return retval; } retval = i2c_smbus_write_byte_data(i2c, BU21013_TH_OFF_REG, - BU21013_TH_OFF_4 || BU21013_TH_OFF_3); + BU21013_TH_OFF_4 | BU21013_TH_OFF_3); if (retval < 0) { dev_err(&i2c->dev, "BU21013_TH_OFF reg write failed\n"); return retval; |