Re: [PATCH 03/11] Acer-WMI: fingers off backlight if video.ko is serving this functionality

Carlos Corbacho
2008-07-16T18:11:15Z

On Wednesday 16 July 2008 11:52:25 Thomas Renninger wrote:
> Signed-off-by: Thomas Renninger <trenn@suse.de>
> Signed-off-by: Thomas Renninger <trenn@stravinsky.suse.de>

Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>

> ---
> drivers/misc/acer-wmi.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c
> index e7a3fe5..a843ac2 100644
> --- a/drivers/misc/acer-wmi.c
> +++ b/drivers/misc/acer-wmi.c
> @@ -1218,6 +1218,12 @@ static int __init acer_wmi_init(void)
> return -ENODEV;
> }
>
> + if (!acpi_video_backlight_support() && has_cap(ACER_CAP_BRIGHTNESS)) {
> + interface->capability &= ~ACER_CAP_BRIGHTNESS;
> + printk(ACER_INFO "Brightness must be controlled by "
> + "generic video driver\n");
> + }
> +
> if (platform_driver_register(&acer_platform_driver)) {
> printk(ACER_ERR "Unable to register platform driver.\n");
> goto error_platform_register;

--
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D