[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1172507907.5824.105.camel@localhost.localdomain>
Date: Mon, 26 Feb 2007 16:38:27 +0000
From: Richard Purdie <rpurdie@...ys.net>
To: Henrique de Moraes Holschuh <hmh@....eng.br>
Cc: Jiri Kosina <jikos@...os.cz>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI: ibm-acpi: improve backlight power handling
On Mon, 2007-02-26 at 13:12 -0300, Henrique de Moraes Holschuh wrote:
> @@ -1707,7 +1708,8 @@ static int brightness_write(char *buf)
>
> static int brightness_update_status(struct backlight_device *bd)
> {
> - return brightness_set(bd->props.brightness);
> + return brightness_set((bd->props.fb_blank == FB_BLANK_UNBLANK)?
> + bd->props.brightness : 0);
> }
>
> static struct backlight_ops ibm_backlight_data = {
Should we be looking at bd->props.power here too?
Richard
-
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