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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:12:40 +0000 (15:12 -0400)
commit3605c64ece931ac1b5e921068d47a54874b961c8
tree7ee03444d48ad5fff3e09a91dd0451ed8ede0873
parent62d09fc9cb4b7183f1dd1c691de3213fccda4cfc
staging: iio: tsl2x7x_core: fix proximity treshold

commit c404618cd06dad771495fe1cf9d5a63b5664f65f upstream.

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

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/light/tsl2x7x_core.c