]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64112fdfab5b0b8a15d797801e22483b3c6fc4fa
treecc3fc0c44c8a46f3ba8bf4a1c8585b4e194182a0
parent90ea00d2769e1de295eeda9cbd68e0498cfb5c7c
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