Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118814
b: refs/heads/master
c: 6766fec
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Renninger authored and Len Brown committed Nov 8, 2008
1 parent 9e7da08 commit ee777ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: febf2d95a71cd594182e4b3defb0e0ffdfe61482
refs/heads/master: 6766fec3669d5053b987e111afb348b885237bfc
10 changes: 7 additions & 3 deletions trunk/drivers/misc/asus-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,9 +1208,13 @@ static int __init asus_laptop_init(void)

dev = acpi_get_physical_device(hotk->device->handle);

result = asus_backlight_init(dev);
if (result)
goto fail_backlight;
if (!acpi_video_backlight_support()) {
result = asus_backlight_init(dev);
if (result)
goto fail_backlight;
} else
printk(ASUS_INFO "Brightness ignored, must be controlled by "
"ACPI video driver\n");

result = asus_led_init(dev);
if (result)
Expand Down

0 comments on commit ee777ec

Please sign in to comment.