diff options
author | Kamal Mostafa <kamal@canonical.com> | 2010-05-01 15:09:49 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-05-20 01:31:00 -0400 |
commit | eeb4bcb4771679d7b3446c0293334faee11b090a (patch) | |
tree | a540d4f89ff28a5d96b91294a20264cb10dbc110 /drivers/acpi | |
parent | e40152ee1e1c7a63f4777791863215e3faa37a86 (diff) |
ACPI: video: fix acpi_backlight=video
Make "acpi_backlight=video" param enable ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO
as intended, instead of incorrectly enabling video output switching.
BugLink: http://bugs.launchpad.net/bugs/573120
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: <stable@kernel.org>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/video_detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index fc2f26b9b407..c5fef01b3c95 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c | |||
@@ -250,7 +250,7 @@ static int __init acpi_backlight(char *str) | |||
250 | ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR; | 250 | ACPI_VIDEO_BACKLIGHT_FORCE_VENDOR; |
251 | if (!strcmp("video", str)) | 251 | if (!strcmp("video", str)) |
252 | acpi_video_support |= | 252 | acpi_video_support |= |
253 | ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO; | 253 | ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO; |
254 | } | 254 | } |
255 | return 1; | 255 | return 1; |
256 | } | 256 | } |