Hi, On 11/23/20 2:21 PM, Benjamin Berg wrote: > From: Benjamin Berg <bberg@xxxxxxxxxx> > > The lid state may change while the machine is suspended. As such, we may > need to re-check the state at wake-up time (at least when waking up from > hibernation). > Add the appropriate call to the resume handler in order to sync the > SW_TABLET_MODE switch state with the hardware state. > > Fixes: dda3ec0aa631 ("platform/x86: thinkpad_acpi: Implement tablet mode using GMMS method") > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=210269 > Signed-off-by: Benjamin Berg <bberg@xxxxxxxxxx> Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > drivers/platform/x86/thinkpad_acpi.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c > index e3810675090a..9104e0ee37cd 100644 > --- a/drivers/platform/x86/thinkpad_acpi.c > +++ b/drivers/platform/x86/thinkpad_acpi.c > @@ -4228,6 +4228,7 @@ static void hotkey_resume(void) > pr_err("error while attempting to reset the event firmware interface\n"); > > tpacpi_send_radiosw_update(); > + tpacpi_input_send_tabletsw(); > hotkey_tablet_mode_notify_change(); > hotkey_wakeup_reason_notify_change(); > hotkey_wakeup_hotunplug_complete_notify_change(); > _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel