diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-24 15:45:35 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-24 15:45:35 -0500 |
| commit | e1c10879ed59436cde537b723545430b04d4dec0 (patch) | |
| tree | 4ef92d5ca73489757e0327615423bfe022378646 /drivers/platform/x86 | |
| parent | 81f05fee8c063cfc1614ddba1ce88cb1129f263d (diff) | |
| parent | 6b31de3e698582fe0b8f7f4bab15831b73204800 (diff) | |
Merge tag 'platform-drivers-x86-v4.5-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
Pull x86 platform driver updates from Darren Hart:
"Emergency travel prevented me from completing my final testing on this
until today. Nothing here that couldn't wait until RC1 fixes, but I
thought it best to get it out sooner rather than later as it does
contain a build warning fix.
Summary:
A build warning fix, MAINTAINERS cleanup, and a new DMI quirk:
ideapad-laptop:
- Add Lenovo Yoga 700 to no_hw_rfkill dmi list
MAINTAINERS:
- Combine multiple telemetry entries
intel_telemetry_debugfs:
- Fix unused warnings in telemetry debugfs"
* tag 'platform-drivers-x86-v4.5-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
MAINTAINERS: Combine multiple telemetry entries
intel_telemetry_debugfs: Fix unused warnings in telemetry debugfs
Diffstat (limited to 'drivers/platform/x86')
| -rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 7 | ||||
| -rw-r--r-- | drivers/platform/x86/intel_telemetry_debugfs.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index d28db0e793df..d78ee151c9e4 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c | |||
| @@ -900,6 +900,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = { | |||
| 900 | }, | 900 | }, |
| 901 | }, | 901 | }, |
| 902 | { | 902 | { |
| 903 | .ident = "Lenovo Yoga 700", | ||
| 904 | .matches = { | ||
| 905 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), | ||
| 906 | DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 700"), | ||
| 907 | }, | ||
| 908 | }, | ||
| 909 | { | ||
| 903 | .ident = "Lenovo Yoga 900", | 910 | .ident = "Lenovo Yoga 900", |
| 904 | .matches = { | 911 | .matches = { |
| 905 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), | 912 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), |
diff --git a/drivers/platform/x86/intel_telemetry_debugfs.c b/drivers/platform/x86/intel_telemetry_debugfs.c index 5b31d1548c07..f5134acd6ff0 100644 --- a/drivers/platform/x86/intel_telemetry_debugfs.c +++ b/drivers/platform/x86/intel_telemetry_debugfs.c | |||
| @@ -96,9 +96,11 @@ | |||
| 96 | } \ | 96 | } \ |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | #ifdef CONFIG_PM_SLEEP | ||
| 99 | static u8 suspend_prep_ok; | 100 | static u8 suspend_prep_ok; |
| 100 | static u32 suspend_shlw_ctr_temp, suspend_deep_ctr_temp; | 101 | static u32 suspend_shlw_ctr_temp, suspend_deep_ctr_temp; |
| 101 | static u64 suspend_shlw_res_temp, suspend_deep_res_temp; | 102 | static u64 suspend_shlw_res_temp, suspend_deep_res_temp; |
| 103 | #endif | ||
| 102 | 104 | ||
| 103 | struct telemetry_susp_stats { | 105 | struct telemetry_susp_stats { |
| 104 | u32 shlw_swake_ctr; | 106 | u32 shlw_swake_ctr; |
