tsl2563: fixed bug with disabling interrupts
authorDerek Basehore <dbasehore@chromium.org>
Thu, 4 Oct 2012 23:54:00 +0000 (00:54 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 17 Nov 2012 10:17:24 +0000 (10:17 +0000)
commit95273f8952a7e3a037e139eec0aa99872f086498
treecc3fc0c44c8a46f3ba8bf4a1c8585b4e194182a0
parente3db9ef6eb39ac6d969787bc15756778c2c5ca66
tsl2563: fixed bug with disabling interrupts

In tsl_2563_write_interrupt_config and tsl2562_remove, interrupts are not
disabled where they should be. This seems to be from a mistake of using |=
instead of &= in 2 lines of code.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2563.c