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)
committerJean Delvare <khali@linux-fr.org>
Thu, 26 Nov 2009 08:22:32 +0000 (09:22 +0100)
commit5f5bfb09d81c9a1d26238ae6668e584c14ae3daf
treebf709d54c9390eb2682017ce1586b8a9f7467f03
parenta8a8a669ea13d792296737505adc43ccacf3a648
i2c/tsl2550: Fix lux value in extended mode

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>
drivers/i2c/chips/tsl2550.c