diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-01-25 01:48:12 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 03:22:57 -0500 |
commit | 7761f638f6e0f276fe8612ba306d09c40d1b553c (patch) | |
tree | 8fee660ce7f00c7015a458099e8de615e42b0015 /drivers/acpi/video.c | |
parent | 9ee85241fdaab358dff1d8647f20a478cfa512a1 (diff) |
ACPI: video: call ACPI notifier chain for ACPI video notifications
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>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/video.c')
-rw-r--r-- | drivers/acpi/video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index d4b4b52facba..74ff0faeab57 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -1765,6 +1765,7 @@ static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data) | |||
1765 | break; | 1765 | break; |
1766 | } | 1766 | } |
1767 | 1767 | ||
1768 | acpi_notifier_call_chain(device, event, 0); | ||
1768 | input_report_key(input, keycode, 1); | 1769 | input_report_key(input, keycode, 1); |
1769 | input_sync(input); | 1770 | input_sync(input); |
1770 | input_report_key(input, keycode, 0); | 1771 | input_report_key(input, keycode, 0); |
@@ -1826,6 +1827,7 @@ static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data) | |||
1826 | break; | 1827 | break; |
1827 | } | 1828 | } |
1828 | 1829 | ||
1830 | acpi_notifier_call_chain(device, event, 0); | ||
1829 | input_report_key(input, keycode, 1); | 1831 | input_report_key(input, keycode, 1); |
1830 | input_sync(input); | 1832 | input_sync(input); |
1831 | input_report_key(input, keycode, 0); | 1833 | input_report_key(input, keycode, 0); |