]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77a5cb801c52eabbd7187cecddcc53ffc9a89294
tree734c61b3dc65de58586ba0bb364dd10034593f52
parent45a07932db7cd77ca7df352985e65042609345d9
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