Message ID | 20210116030019.630928-1-alex.hung@canonical.com |
---|---|
Headers | show |
Series | Thinkpad - add palm sensor support needed for WWAN | expand |
On 16.1.2021 5.00, Alex Hung wrote: > BugLink: https://bugs.launchpad.net/bugs/1912033 > > [Impact] > Add new palm sensor supports to Lenovo Thinkpad systems > > [Fix] > thinkpad_acpi is updated to check palm sensor presence and its events > > [Test] > Tested on Thinkpad systems > > [Where problems could occur] > Low risks. Only thinkpad systems are affected. Also thinkpad systems without palm sensor > and without TP_HKEY_EV_PALM_DETECTED & TP_HKEY_EV_PALM_UNDETECTED events won't > be affected either. > > There can an issue as discussed in commit log of "thinkpad_acpi: Add palm sensor support" > > Note: On some platforms, because of an issue in the HW implementation, > the palm sensor presence may be incorrectly advertised as always > enabled even if a palm sensor is not present. The palm sensor is > intended for WWAN transmission power control and should be available > and correct on all WWAN enabled systems. It is not recommended to use > this interface for other use cases. > > > Note: "thinkpad_acpi: Add palm sensor support" was cherry-picked from mainline, and > "thinkpad_acpi: correct palmsensor error checking" is cherry-picked from maintainer's > tree (git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git) > > Mark Pearson (2): > platform/x86: thinkpad_acpi: Add palm sensor support > platform/x86: thinkpad_acpi: correct palmsensor error checking > > drivers/platform/x86/thinkpad_acpi.c | 162 +++++++++++++++++---------- > 1 file changed, 103 insertions(+), 59 deletions(-) > applied to oem-5.10, thanks careful with the brackets, btw ;)