linux/drivers/video/backlight
Axel Lin 5d6f921b42 drivers/video/backlight/aat2870_bl.c: fix setting max_current
- Current implementation tests wrong value for setting
   aat2870_bl->max_current.

 - In the current implementation, we cannot differentiate between 2 cases:

   a) if pdata->max_current is not set , or

   b) pdata->max_current is set to AAT2870_CURRENT_0_45 (which is also 0).

   Fix it by setting AAT2870_CURRENT_0_45 to be 1 and adjust the equation in
   aat2870_brightness() accordingly.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Tested-by: Jin Park <jinyoungp@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-08-03 14:25:22 -10:00
..
88pm860x_bl.c mfd: Use mfd cell platform_data for 88pm860x cells platform bits 2011-05-26 19:45:12 +02:00
aat2870_bl.c drivers/video/backlight/aat2870_bl.c: fix setting max_current 2011-08-03 14:25:22 -10:00
adp5520_bl.c drivers/video/backlight/adp5520_bl.c: check strict_strtoul() return value 2011-05-25 08:39:01 -07:00
adp8860_bl.c drivers/video/backlight/adp8860_bl.c: remove a redundant assignment for max_brightness 2011-07-25 20:57:08 -07:00
adp8870_bl.c drivers/video/backlight/adp8870_bl.c: add missed props.type conversion 2011-06-15 20:03:59 -07:00
adx_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
ams369fg06.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
apple_bl.c mbp_nvidia_bl: rename to apple_bl 2011-03-22 17:44:00 -07:00
atmel-pwm-bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
backlight.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
corgi_lcd.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cr_bllcd.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
da903x_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
ep93xx_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
generic_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
hp680_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
ili9320.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ili9320.h fb: add support for the ILI9320 video display controller 2008-07-24 10:47:40 -07:00
jornada720_bl.c drivers/video/backlight/jornada720_*.c: make needlessly global symbols static 2011-03-22 17:44:00 -07:00
jornada720_lcd.c drivers/video/backlight/jornada720_*.c: make needlessly global symbols static 2011-03-22 17:44:00 -07:00
kb3886_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
Kconfig backlight: Add AAT2870 backlight driver 2011-07-31 23:28:26 +02:00
l4f00242t03.c drivers/video/backlight/l4f00242t03.c: fix reset sequence 2011-01-13 08:03:06 -08:00
lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ld9040_gamma.h drivers/vidfeo/backlight: ld9040 amoled driver support 2011-03-22 17:43:59 -07:00
ld9040.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
lms283gf05.c backlight: fix blanking for LMS283GF05 LCD 2010-11-12 07:55:33 -08:00
locomolcd.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ltv350qv.c Haavard Skinnemoen has left Atmel 2011-05-18 23:24:50 +02:00
ltv350qv.h
Makefile backlight: Add AAT2870 backlight driver 2011-07-31 23:28:26 +02:00
max8925_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
omap1_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
pcf50633-backlight.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
platform_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
progear_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
pwm_bl.c pwm_backlight: add check_fb() hook 2011-03-22 17:44:00 -07:00
s6e63m0_gamma.h backlight: add S6E63M0 AMOLED LCD Panel driver 2010-05-26 17:34:16 +01:00
s6e63m0.c backlight: set backlight type and max_brightness before backlights are registered 2011-07-25 20:57:08 -07:00
tdo24m.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tosa_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
tosa_lcd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vgg2432a4.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
wm831x_bl.c backlight: add backlight type 2011-03-22 17:43:59 -07:00