summaryrefslogtreecommitdiff
path: root/lib/ashldi3.c
diff options
context:
space:
mode:
authorDaniel Gibson <daniel@gibson.sh>2026-06-11 17:04:25 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-06-11 19:53:56 +0300
commit428b9fd2dce50b4dc5cd9ade10b92efcf57ce7aa (patch)
tree312bf8a736e662d015ad9c2e37114bc0b55179eb /lib/ashldi3.c
parent9b9e60dd31da054a37d601e9fcabdfd8a2bff354 (diff)
platform/x86/amd/pmc: Add delay_suspend module parameter
Enabling the new delay_suspend module parameter delays suspend for 2.5 seconds which is known to help for some AMD-based Lenovo Laptops that otherwise failed to send/receive events for key presses or the lid switch after s2idle. Apparently the EC needs to do some things in the background before suspend or it gets into a bad state. There are many reports of AMD-based laptops (mostly but not exclusively IdeaPads) about similar issues on the web; this parameter gives affected users an easy way to try out if their issues have the same root cause and to work around them until their specific device is added to the quirks list. The parameter description has a note encouraging users to report their device so it can be added to the quirks list, inspired by a similar request in parameter descriptions of the ideapad-laptop module. The module parameter can be set to "1" to explicitly enable it, "0" to disable it even on devices that are assumed to be affected, or -1 (the default) to enable it if the device is assumed to be affected (according to fwbug_list[]) Link: https://bugzilla.kernel.org/show_bug.cgi?id=221383 Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: Daniel Gibson <daniel@gibson.sh> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260611150426.3683372-4-daniel@gibson.sh Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'lib/ashldi3.c')
0 files changed, 0 insertions, 0 deletions