From: Len Brown <lenb@kernel.org>
To: Zhang Rui <rui.zhang@intel.com>, linux-input@atrey.karlin.mff.cuni.cz
Cc: linux-acpi@vger.kernel.org, mjg59@srcf.ucam.org,
dmitry.torokhov@gmail.com, hmh@hmh.eng.hr, hughsient@gmail.com,
luming.yu@intel.com
Subject: Re: [RFC] [PATCH V2 2/3] ACPI video hotkey: remove invalid events handled by video output devices
Date: Wed, 15 Aug 2007 23:16:33 -0400 [thread overview]
Message-ID: <200708152316.34097.lenb@kernel.org> (raw)
In-Reply-To: <1186780044.6830.58.camel@rzhang-asus.sh.intel.com>
On Friday 10 August 2007 17:07, Zhang Rui wrote:
> Both ACPI_VIDEO_NOTIFY_SWITCH and ACPI_VIDEO_NOTIFY_PROBE
> are valid for video Display Devices only.
>
> ACPI video output devices should not handle these kinds of events.
please update this description to clarify that
these event codes are handled by the video bus,
and thus should simply not be here in the video device.
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> ---
> drivers/acpi/video.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> Index: linux-2.6.23-rc2/drivers/acpi/video.c
> ===================================================================
> --- linux-2.6.23-rc2.orig/drivers/acpi/video.c
> +++ linux-2.6.23-rc2/drivers/acpi/video.c
> @@ -1813,10 +1813,6 @@ static void acpi_video_device_notify(acp
> device = video_device->dev;
>
> switch (event) {
> - case ACPI_VIDEO_NOTIFY_SWITCH: /* change in status (cycle output device) */
> - case ACPI_VIDEO_NOTIFY_PROBE: /* change in status (output device status) */
> - acpi_bus_generate_event(device, event, 0);
> - break;
> case ACPI_VIDEO_NOTIFY_CYCLE_BRIGHTNESS: /* Cycle brightness */
> case ACPI_VIDEO_NOTIFY_INC_BRIGHTNESS: /* Increase brightness */
> case ACPI_VIDEO_NOTIFY_DEC_BRIGHTNESS: /* Decrease brightness */
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2007-08-16 3:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-10 21:07 [RFC] [PATCH V2 2/3] ACPI video hotkey: remove invalid events handled by video output devices Zhang Rui
2007-08-16 3:16 ` 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=200708152316.34097.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=hmh@hmh.eng.hr \
--cc=hughsient@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
--cc=luming.yu@intel.com \
--cc=mjg59@srcf.ucam.org \
--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.