lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <A874F61F95741C4A9BA573A70FE3998F82E7C42D@DQHE06.ent.ti.com>
Date:	Tue, 2 Jul 2013 23:24:42 +0000
From:	"Kim, Milo" <Milo.Kim@...com>
To:	Oskar Andero <oskar.andero@...ymobile.com>,
	Shingo Nakao <shingo.x.nakao@...ymobile.com>
CC:	Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
	"Valkeinen, Tomi" <tomi.valkeinen@...com>,
	Radovan Lekanovic <Radovan.Lekanovic@...ymobile.com>,
	Richard Purdie <rpurdie@...ys.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-fbdev@...r.kernel.org" <linux-fbdev@...r.kernel.org>,
	"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>
Subject: Re: [PATCH] backlight: lp855x: set zero brightness at FBBLANK

> From: Shingo Nakao <shingo.x.nakao@...ymobile.com>
> 
> When backlight turns on early from display, a white line can be
> seen on the screen. Therefore make sure backlight is off when we
> are under an fb blank event.
> 
> Signed-off-by: Shingo Nakao <shingo.x.nakao@...ymobile.com>
> Cc: Milo Kim <milo.kim@...com>
> Cc: Richard Purdie <rpurdie@...ys.net>
> Signed-off-by: Oskar Andero <oskar.andero@...ymobile.com>

Acked-by: Milo Kim <milo.kim@...com>

> ---
>  drivers/video/backlight/lp855x_bl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/video/backlight/lp855x_bl.c b/drivers/video/backlight/lp855x_bl.c
> index a0e1e02..c0b41f1 100644
> --- a/drivers/video/backlight/lp855x_bl.c
> +++ b/drivers/video/backlight/lp855x_bl.c
> @@ -246,7 +246,7 @@ static int lp855x_bl_update_status(struct backlight_device *bl)
>  {
>         struct lp855x *lp = bl_get_data(bl);
> 
> -       if (bl->props.state & BL_CORE_SUSPENDED)
> +       if (bl->props.state & (BL_CORE_SUSPENDED | BL_CORE_FBBLANK))
>                 bl->props.brightness = 0;
> 
>         if (lp->mode == PWM_BASED) {
> --
> 1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ