staging: iio: tsl2x7x_core: fix proximity treshold
authorMario Schuknecht <mario.schuknecht@dresearch-fe.de>
Tue, 27 May 2014 06:19:00 +0000 (07:19 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 2 Jun 2014 17:49:18 +0000 (18:49 +0100)
commitc404618cd06dad771495fe1cf9d5a63b5664f65f
tree734c61b3dc65de58586ba0bb364dd10034593f52
parentd29f592929489d0a7c414396fae28119f3d280e1
staging: iio: tsl2x7x_core: fix proximity treshold

Consider high byte of proximity min and max treshold in function
'tsl2x7x_chip_on'. So far, the high byte was not set.

Cc: Stable@vger.kernel.org
Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2x7x_core.c