History

mfd / platform: cros_ec_debugfs: Expose resume result via debugfs

For ECs that support it, the EC returns the number of slp_s0 transitions and whether or not there was a timeout in the resume response. Expose the last resume result to usermode via debugfs so that usermode can detect and report S0ix timeouts.

Evan Green committed 7 years ago

Commit 8c3166e1 parent c18e6ea4 files · +31 −1Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/mfd/cros_ec.h+1−0
@@ -163,6 +163,7 @@ struct cros_ec_device { · 162 unmodified lines
163 struct ec_response_get_next_event_v1 event_data;163 struct ec_response_get_next_event_v1 event_data;
164 int event_size;164 int event_size;
165 u32 host_event_wake_mask;165 u32 host_event_wake_mask;
166 u32 last_resume_result;
166};167};
167 168
168/**169/**

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