iio:light:cm3323: clear bitmask before set
authorHartmut Knaack <knaack.h@gmx.de>
Wed, 17 Jun 2015 22:31:59 +0000 (00:31 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 Jun 2015 13:24:58 +0000 (14:24 +0100)
commitc288503b32e8c5534062a05ec565d28bffa06db3
treee269028250c7cb8189e455cb62a3f9e1fbf359d6
parent2ab5f39bc7825808e0fa1e7e5f0b23e174563467
iio:light:cm3323: clear bitmask before set

When setting the bits for integration time, the appropriate bitmask needs
to be cleared first.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/cm3323.c