Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337991
b: refs/heads/master
c: 95273f8
h: refs/heads/master
i:
  337989: 594e64f
  337987: 08fc51b
  337983: 53277b3
v: v3
  • Loading branch information
Derek Basehore authored and Jonathan Cameron committed Nov 17, 2012
1 parent e59c0ac commit 3da4d0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: e3db9ef6eb39ac6d969787bc15756778c2c5ca66
refs/heads/master: 95273f8952a7e3a037e139eec0aa99872f086498
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/light/tsl2563.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ static int tsl2563_write_interrupt_config(struct iio_dev *indio_dev,
}

if (!state && (chip->intr & 0x30)) {
chip->intr |= ~0x30;
chip->intr &= ~0x30;
ret = i2c_smbus_write_byte_data(chip->client,
TSL2563_CMD | TSL2563_REG_INT,
chip->intr);
Expand Down Expand Up @@ -814,7 +814,7 @@ static int __devexit tsl2563_remove(struct i2c_client *client)
if (!chip->int_enabled)
cancel_delayed_work(&chip->poweroff_work);
/* Ensure that interrupts are disabled - then flush any bottom halves */
chip->intr |= ~0x30;
chip->intr &= ~0x30;
i2c_smbus_write_byte_data(chip->client, TSL2563_CMD | TSL2563_REG_INT,
chip->intr);
flush_scheduled_work();
Expand Down

0 comments on commit 3da4d0e

Please sign in to comment.