Skip to content

Commit

Permalink
Merge branch 'bugzilla-13671' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Len Brown committed Dec 30, 2009
2 parents ea840aa + 28c32e9 commit b943aa8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/acpi/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1979,6 +1979,10 @@ acpi_video_switch_brightness(struct acpi_video_device *device, int event)
unsigned long long level_current, level_next;
int result = -EINVAL;

/* no warning message if acpi_backlight=vendor is used */
if (!acpi_video_backlight_support())
return 0;

if (!device->brightness)
goto out;

Expand Down

0 comments on commit b943aa8

Please sign in to comment.