i2c/tsl2550: Fix lux value in extended mode
commitb167b0c6a4ae732370eba9486b6274d6637fdd06
authorMichele Jr De Candia <michele.decandia@valueteam.com>
Thu, 26 Nov 2009 08:22:32 +0000 (26 09:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 22:26:39 +0000 (6 14:26 -0800)
tree3a7b800de3d410ea84ccb8f83da39bb71952120b
parent0b8d9a7c4ac4e90adf8a499d91ebc9ca4513f295
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