All of lore.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Zhang Rui <rui.zhang@intel.com>
Cc: linux-acpi <linux-acpi@vger.kernel.org>, linux-gfx@linux.intel.com
Subject: Re: [PATCH 4/4] ACPI: video: call ACPI notifier chain for ACPI video notifications
Date: Fri, 1 Feb 2008 23:04:22 -0500	[thread overview]
Message-ID: <200802012304.22513.lenb@kernel.org> (raw)
In-Reply-To: <1201243692.4663.21.camel@acpi-sony.sh.intel.com>

Applied.

thanks,
-Len

On Friday 25 January 2008 01:48, Zhang Rui wrote:
> From: Zhang Rui <rui.zhang@intel.com>
> 
> Call notifier chain for display/brightness switch events.
> The kernel mode graphics driver is interested in this.
> 
> Sign-off-by: Zhang Rui <rui.zhang@intel.com>
> ---
>  drivers/acpi/video.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> Index: linux-2.6/drivers/acpi/video.c
> ===================================================================
> --- linux-2.6.orig/drivers/acpi/video.c
> +++ linux-2.6/drivers/acpi/video.c
> @@ -1765,6 +1765,7 @@ static void acpi_video_bus_notify(acpi_h
>  		break;
>  	}
>  
> +	acpi_notifier_call_chain(device, event, 0);
>  	input_report_key(input, keycode, 1);
>  	input_sync(input);
>  	input_report_key(input, keycode, 0);
> @@ -1826,6 +1827,7 @@ static void acpi_video_device_notify(acp
>  		break;
>  	}
>  
> +	acpi_notifier_call_chain(device, event, 0);
>  	input_report_key(input, keycode, 1);
>  	input_sync(input);
>  	input_report_key(input, keycode, 0);
> 
> 

      reply	other threads:[~2008-02-02  4:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25  6:48 [PATCH 4/4] ACPI: video: call ACPI notifier chain for ACPI video notifications Zhang Rui
2008-02-02  4:04 ` Len Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200802012304.22513.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-gfx@linux.intel.com \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.