diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-02-16 18:52:16 -0600 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-02-19 13:36:46 +0100 |
commit | b2b6fa6f5c57848c95ca7bf1f0a7d1bb340c3460 (patch) | |
tree | b5cb7ce4494a55e9f84955108b26d7a20db5620e /drivers/platform/x86/apple-gmux.c | |
parent | 11e298f3548a6fe5e6ad78f811abfba15e6ebbc1 (diff) |
platform/x86/amd/pmf: Fix a suspend hang on Framework 13
The buffer is cleared in the suspend handler but used in
the delayed work for amd_pmf_get_metrics().
Stop clearing it to fix the hang.
Reported-by: Trolli Schmittlauch <t.schmittlauch@orlives.de>
Closes: https://lore.kernel.org/regressions/ed2226ff-257b-4cfd-afd6-bf3be9785474@localhost/
Closes: https://community.frame.work/t/kernel-6-8-rc-system-freezes-after-resuming-from-suspend-reproducers-wanted/45381
Fixes: 2b3a7f06caaf ("platform/x86/amd/pmf: Change return type of amd_pmf_set_dram_addr()")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20240217005216.113408-1-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/apple-gmux.c')
0 files changed, 0 insertions, 0 deletions