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
88 u32 brightness = bd->props.brightness;88 u32 brightness = bd->props.brightness;
89 89
90 if (bd->props.state & BL_CORE_SUSPENDED)90 if (bd->props.state & BL_CORE_SUSPENDED)
91 brightness = 0;91 return 0;
92 92
93 /*93 /*
94 * Older gmux versions require writing out lower bytes first then94 * 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