History

apple-gmux: Fix up the suspend/resume patch

I incorporated the wrong version of the suspend/resume patch for gmux, and so lost David Woodhouse's fix to leave the backlight level unchanged over suspend/resume. This fixes it up to v2.

Matthew Garrett committed 14 years ago

Commit a2f01a81 parent a6c23901 file · +1 −1Browse files

Unified · Split

drivers/platform/x86/apple-gmux.c+1−1
@@ -88,7 +88,7 @@ static int gmux_update_status(struct backlight_device *bd) · 87 unmodified lines
8888 u32 brightness = bd->props.brightness;
8989
9090 if (bd->props.state & BL_CORE_SUSPENDED)
91− brightness = 0;
91+ return 0;
9292
9393 /*
9494 * Older gmux versions require writing out lower bytes first then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t