acpi: video: fix acpi_backlight=video
PATCH 1/1 acpi: video: fix acpi_backlight=video
From: Kamal Mostafa <[email protected]>
Make "acpi_backlight=video" param enable ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO as intended, instead of incorrectly enabling video output switching.
Addresses http://bugs.launchpad.net/bugs/573120
---
drivers/acpi/video_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/video_detect.c renamed from drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video +1 -1
@@ -266,7 +266,7 @@ static int __init acpi_display_output(chACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR ;if (!strcmp ("video" , str)) acpi_video_support |= -ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO ; +ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO ; }return 1 ; }
_
Len Brown
revieweryes, it is in acpi-test and linux-next, do you pull those into mm still?
thanks,
Len Brown, Intel Open Source Technology Center
Quoted 39 lines · On Mon, 24 May 2010, [email protected] wrote:
From: Kamal Mostafa <[email protected]>
Make "acpi_backlight=video" param enable
ACPI_VIDEO_BACKLIGHT_FORCE_VIDEOas intended, instead of incorrectly enabling video output switching.Addresses http://bugs.launchpad.net/bugs/573120
Signed-off-by Kamal Mostafa <[email protected]>Cc Len Brown <[email protected]>Cc Zhang Rui <[email protected]>Cc Bjorn Helgaas <[email protected]>Cc Jiri Kosina <[email protected]>Acked-by Thomas Renninger <[email protected]>Cc Thomas Renninger <[email protected]>Cc <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/acpi/video_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff -puN drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video
drivers/acpi/video_detect.cdrivers/acpi/video_detect.c renamed from drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video +1
-1@@ -266,7 +266,7 @@ static int __init acpi_display_output(chACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR ;if (!strcmp ("video" , str)) acpi_video_support |= -ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO ; +ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO ; }return 1 ; }_
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 24 lines · On Mon, 24 May 2010 20:53:51 -0400 (EDT) Len Brown <[email protected]> wrote:
Quoted 21 lines · On Mon, 24 May 2010, [email protected] wrote:
From: Kamal Mostafa <[email protected]>
Make "acpi_backlight=video" param enable
ACPI_VIDEO_BACKLIGHT_FORCE_VIDEOas intended, instead of incorrectly enabling video output switching.Addresses http://bugs.launchpad.net/bugs/573120
Signed-off-by Kamal Mostafa <[email protected]>Cc Len Brown <[email protected]>Cc Zhang Rui <[email protected]>Cc Bjorn Helgaas <[email protected]>Cc Jiri Kosina <[email protected]>Acked-by Thomas Renninger <[email protected]>Cc Thomas Renninger <[email protected]>Cc <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/acpi/video_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
drivers/acpi/video_detect.c static int __init acpi_display_output(ch · line 272
Quoted 12 lines
diff -puN drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video
drivers/acpi/video_detect.cdrivers/acpi/video_detect.c renamed from drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video +1
-1@@ -266,7 +266,7 @@ static int __init acpi_display_output(chACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR ;if (!strcmp ("video" , str)) acpi_video_support |= -ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO ; +ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO ; }return 1 ; }yes, it is in acpi-test and linux-next, do you pull those into mm still?
(top-posting repaired!)
linux-next changes acpi_backlight(). In my tree patch(1) decided to migrate the hunk into acpi_display_output().
Please check that acpi_display_output() didn't need the same change.
I'll drop the patch, thanks.
Len Brown
reviewerQuoted 16 lines
Quoted 12 lines
drivers/acpi/video_detect.c static int __init acpi_display_output(ch · line 271
Quoted 12 lines
diff -puN drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video
drivers/acpi/video_detect.cdrivers/acpi/video_detect.c renamed from drivers/acpi/video_detect.c~acpi-video-fix-acpi_backlight=video +1
-1@@ -266,7 +266,7 @@ static int __init acpi_display_output(chACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VENDOR ;if (!strcmp ("video" , str)) acpi_video_support |= -ACPI_VIDEO_OUTPUT_SWITCHING_FORCE_VIDEO ; +ACPI_VIDEO_BACKLIGHT_FORCE_VIDEO ; }return 1 ;linux-next changes
acpi_backlight(). In my tree patch(1) decided to migrate the hunk intoacpi_display_output().
I think the hunk got mis-relocated in your tree, and that the correct patch is included in the acpi tree.
Quoted 1 line
Please check that
acpi_display_output()didn't need the same change.
It looks okay.
Quoted 1 line
I'll drop the patch, thanks.
thanks,
-Len