linux/drivers/video/backlight
Huayi Li 1dea1fd092 pwm_backlight: avoid short blank screen while doing hibernation
Use SIMPLE_DEV_PM_OPS macro will initialize the member "freeze"
and "thaw" of pwm_backlight_pm_ops as below,
	.freeze = suspend_fn,
	.thaw = resume_fn,
then during the process of making hibernation snapshot, screen
will be blank at the moment of freezing, and then light at the
moment of thawing.
this is not the right user experience for suspending to disk.

so this patch drops freeze and thaw callback, make the LCD is
always lighting before the final shutdown.

Signed-off-by: Huayi Li <huayi.li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2013-10-22 09:26:12 +02:00
..
88pm860x_bl.c drivers/video/backlight/88pm860x_bl.c: add missing of_node_put() 2013-02-21 17:22:25 -08:00
aat2870_bl.c backlight: aat2870: use bl_get_data instead of dev_get_drvdata 2013-02-21 17:22:24 -08:00
adp5520_bl.c drivers/video/backlight/adp5520_bl.c: fix compiler warning in adp5520_show() 2013-04-29 18:28:17 -07:00
adp8860_bl.c drivers/video/backlight/adp8860_bl.c: fix error return code in adp8860_led_probe() 2013-04-29 18:28:17 -07:00
adp8870_bl.c drivers/video/backlight/adp8870_bl.c: fix error return code in adp8870_led_probe() 2013-04-29 18:28:17 -07:00
ams369fg06.c drivers/video/backlight/ams369fg06.c: convert ams369fg06 to dev_pm_ops 2013-04-29 18:28:14 -07:00
apple_bl.c ACPI: Remove useless type argument of driver .remove() operation 2013-01-26 00:37:24 +01:00
as3711_bl.c drivers/video/backlight/as3711_bl.c: add OF support 2013-04-29 18:28:18 -07:00
atmel-pwm-bl.c backlight: atmel-pwm-bl: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:42 -07:00
backlight.c video: backlight: convert class code to use dev_groups 2013-07-25 16:34:40 -07:00
bd6107.c backlight: Add ROHM BD6107 backlight driver 2013-07-16 13:01:19 +09:00
corgi_lcd.c backlight: corgi_lcd: convert corgi_lcd to dev_pm_ops 2013-04-29 18:28:16 -07:00
cr_bllcd.c backlight: cr_bllcd: use pr_err()/pr_info() instead of printk() 2012-05-29 16:22:29 -07:00
da903x_bl.c backlight: da903x_bl: use BL_CORE_SUSPENDRESUME option 2013-04-29 18:28:17 -07:00
da9052_bl.c drivers/video/backlight/da9052_bl.c: add missing const 2012-12-17 17:15:16 -08:00
ep93xx_bl.c backlight: ep93xx: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:42 -07:00
generic_bl.c drivers/video/backlight/generic_bl.c: use dev_info() instead of pr_info() 2013-04-29 18:28:15 -07:00
gpio_backlight.c backlight: Add GPIO-based backlight driver 2013-07-16 13:01:05 +09:00
hp680_bl.c backlight: hp680_bl: convert hp680bl to dev_pm_ops 2013-04-29 18:28:16 -07:00
hx8357.c fb: backlight: HX8357: Add HX8369 support 2013-08-02 13:15:08 +03:00
ili922x.c backlight: ili922x: use spi_set_drvdata() 2013-04-29 18:28:18 -07:00
ili9320.c backlight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops 2013-04-29 18:28:18 -07:00
ili9320.h backlight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops 2013-04-29 18:28:18 -07:00
jornada720_bl.c drivers/video/backlight/jornada720_*.c: use dev_err()/dev_info() instead of pr_err()/pr_info() 2013-04-29 18:28:15 -07:00
jornada720_lcd.c drivers/video/backlight/jornada720_*.c: use dev_err()/dev_info() instead of pr_err()/pr_info() 2013-04-29 18:28:15 -07:00
kb3886_bl.c backlight: kb3886_bl: convert kb3886bl to dev_pm_ops 2013-04-29 18:28:16 -07:00
Kconfig backlight: Add ROHM BD6107 backlight driver 2013-07-16 13:01:19 +09:00
l4f00242t03.c drivers/video/backlight/l4f00242t03.c: check return value of regulator_enable() 2013-04-29 18:28:15 -07:00
lcd.c video: backlight: lcd: convert class code to use dev_groups 2013-07-25 16:34:40 -07:00
ld9040_gamma.h
ld9040.c backlight: ld9040: convert ld9040 to dev_pm_ops 2013-04-29 18:28:15 -07:00
lm3533_bl.c backlight: lm3533_bl: convert lm3533_bl to dev_pm_ops 2013-04-29 18:28:16 -07:00
lm3630_bl.c drivers/video/backlight/lm3630_bl.c: remove ret = -EIO of lm3630_backlight_register() 2013-02-21 17:22:25 -08:00
lm3639_bl.c drivers/video/backlight/lm3639_bl.c: remove ret = -EIO at error paths of probe 2013-02-21 17:22:24 -08:00
lms283gf05.c backlight: lms283gf05: use spi_get_drvdata and spi_set_drvdata 2013-02-21 17:22:23 -08:00
lms501kf03.c backlight: lms501kf03: convert lms501kf03 to dev_pm_ops 2013-04-29 18:28:15 -07:00
locomolcd.c backlight: locomolcd: convert locomolcd to dev_pm_ops 2013-04-29 18:28:16 -07:00
lp855x_bl.c backlight: lp855x: set zero brightness at FBBLANK 2013-07-26 11:44:51 +03:00
lp8788_bl.c backlight: lp8788: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:43 -07:00
ltv350qv.c backlight: ltv350qv: convert ltv350qv to dev_pm_ops 2013-04-29 18:28:17 -07:00
ltv350qv.h
lv5207lp.c backlight: Add Sanyo LV5207LP backlight driver 2013-07-16 13:01:10 +09:00
Makefile backlight: Add ROHM BD6107 backlight driver 2013-07-16 13:01:19 +09:00
max8925_bl.c mfd: max8925: fix dt code for backlight 2013-07-25 16:57:00 -07:00
omap1_bl.c backlight: omap1: convert omapbl to dev_pm_ops 2013-04-29 18:28:18 -07:00
ot200_bl.c kgdb: remove #include <linux/serial_8250.h> from kgdb.h 2013-02-04 15:35:26 -08:00
pandora_bl.c drivers/video/backlight/pandora_bl.c: change TWL4030_MODULE_PWM0 to TWL_MODULE_PWM 2012-12-17 17:15:17 -08:00
pcf50633-backlight.c backlight: pcf50633: remove unnecessary platform_set_drvdata() 2013-07-03 16:07:43 -07:00
platform_lcd.c drivers/video/backlight/platform_lcd.c: introduce probe callback 2013-04-29 18:28:18 -07:00
pwm_bl.c pwm_backlight: avoid short blank screen while doing hibernation 2013-10-22 09:26:12 +02:00
s6e63m0_gamma.h
s6e63m0.c backlight: s6e63m0: convert s6e63m0 to dev_pm_ops 2013-04-29 18:28:15 -07:00
tdo24m.c backlight: tdo24m: convert tdo24m to dev_pm_ops 2013-04-29 18:28:17 -07:00
tosa_bl.c backlight: tosa: convert tosa to dev_pm_ops 2013-04-29 18:28:18 -07:00
tosa_lcd.c backlight: tosa: convert tosa to dev_pm_ops 2013-04-29 18:28:18 -07:00
tps65217_bl.c drivers/video/backlight/tps65217_bl.c add default brightness value option 2013-04-29 18:28:19 -07:00
vgg2432a4.c backlight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops 2013-04-29 18:28:18 -07:00
wm831x_bl.c backlight: initialize struct backlight_properties properly 2012-05-29 16:22:30 -07:00