]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c/tsl2550: Fix lux value in extended mode
authorMichele Jr De Candia <michele.decandia@valueteam.com>
Thu, 26 Nov 2009 08:22:32 +0000 (09:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:17:12 +0000 (15:17 -0800)
commit18ba31ab3db7b92c9ecb01229d983fd37173ab8f
tree2288d6d23fe47adc38622737c47eb0b594026cc4
parent3f6d77e001665a4d44ab9a70820d46a3e777dca8
i2c/tsl2550: Fix lux value in extended mode

commit 5f5bfb09d81c9a1d26238ae6668e584c14ae3daf upstream.

According to the TAOS Application Note 'Controlling a Backlight with
the TSL2550 Ambient Light Sensor' (page 14), the actual lux value in
extended mode should be obtained multiplying the calculated lux value
by 5.

Signed-off-by: Michele Jr De Candia <michele.decandia@valueteam.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/tsl2550.c