diff options
| author | mattis fjallstrom <mattis@acm.org> | 2016-01-11 19:43:00 -0800 |
|---|---|---|
| committer | mattis fjallstrom <mattis@acm.org> | 2016-01-11 19:43:00 -0800 |
| commit | adacad29a479dff5c4959e11f59ed2623faa455a (patch) | |
| tree | e82e7daff2a96945997f2e249925ab37c2594001 /drivers/i2c/busses/i2c-omap.c | |
| parent | 9177138cf02829830c8d0003815bcff3c8c6b866 (diff) | |
| download | olio-linux-3.10-adacad29a479dff5c4959e11f59ed2623faa455a.tar.xz olio-linux-3.10-adacad29a479dff5c4959e11f59ed2623faa455a.zip | |
Enable/disable fuel gauge wake up depending on charge state. This turns off interrupts from the fuel gauge while charging.
Change-Id: I6a004c9d6ae9f47eae69387f27534f63c77ebfcf
Diffstat (limited to 'drivers/i2c/busses/i2c-omap.c')
| -rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 0e15ad357aa..00fb5ac811c 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -690,7 +690,7 @@ omap_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num) r = omap_i2c_wait_for_bb(dev); /* If timeout, try to again check after attempting to clear the bus */ - if (WARN_ON(r == -ETIMEDOUT)) { + if (r == -ETIMEDOUT) { /* removed WARN_ON here, too much output from ts81001 */ r = omap_i2c_bus_clear(dev); if (r < 0) { dev_err(dev->dev, "Unable to recover i2c bus from bb\n"); |