]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/amd/pmf: Use existing input event codes to update system states
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Thu, 11 Jul 2024 05:20:46 +0000 (10:50 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 11 Jul 2024 07:41:48 +0000 (10:41 +0300)
commit4c92d448e3e61d46111c29276ee959e3e4ec412b
tree0f2ef130026825cc5eb7c77040068e1b4aba766e
parentd2343023349441173cefcdeb517fc7d5273b4fab
platform/x86/amd/pmf: Use existing input event codes to update system states

At present, the PMF driver employs custom system state codes to update
system states. It is recommended to replace these with existing input
event codes (KEY_SLEEP, KEY_SUSPEND, and KEY_SCREENLOCK) to align system
updates with the PMF-TA output actions.

Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20240711052047.1531957-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/pmf/pmf.h
drivers/platform/x86/amd/pmf/tee-if.c