diff options
| author | Mark Pearson <[email protected]> | 2020-07-03 01:23:53 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2020-07-15 09:45:06 +0000 |
| commit | acf7f4a59114471c3964f118564fe8e7a6f34bb8 (patch) | |
| tree | d5131a5d3d09113df52b83fbf7f97d73a5509966 /lib/test-string_helpers.c | |
| parent | platform/x86: thinkpad_acpi: Revert "Use strndup_user() in dispatch_proc_writ... (diff) | |
| download | kernel-acf7f4a59114471c3964f118564fe8e7a6f34bb8.tar.gz kernel-acf7f4a59114471c3964f118564fe8e7a6f34bb8.zip | |
platform/x86: thinkpad_acpi: lap or desk mode interface
Newer Lenovo Thinkpad platforms have support to identify whether the
system is on-lap or not using an ACPI DYTC event from the firmware.
This patch provides the ability to retrieve the current mode via sysfs
entrypoints and will be used by userspace for thermal mode and WWAN
functionality
Co-developed-by: Nitin Joshi <[email protected]>
Signed-off-by: Nitin Joshi <[email protected]>
Reviewed-by: Sugumaran <[email protected]>
Reviewed-by: Bastien Nocera <[email protected]>
Signed-off-by: Mark Pearson <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
