Commit 6f9fac55 authored by David E. Box's avatar David E. Box Committed by Hans de Goede

platform/x86/intel/pmc/lnl: Add GBE LTR ignore during suspend

Add the GBE LTR ignore suspend time fix for Lunar Lake.

Fixes: 119652b855e6 ("platform/x86/intel/pmc: Add Lunar Lake M support to intel_pmc_core driver")
Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20231223032548.1680738-8-david.e.box@linux.intel.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 10ed9ee0
...@@ -509,6 +509,8 @@ static void lnl_d3_fixup(void) ...@@ -509,6 +509,8 @@ static void lnl_d3_fixup(void)
static int lnl_resume(struct pmc_dev *pmcdev) static int lnl_resume(struct pmc_dev *pmcdev)
{ {
lnl_d3_fixup(); lnl_d3_fixup();
pmc_core_send_ltr_ignore(pmcdev, 3, 0);
return pmc_core_resume_common(pmcdev); return pmc_core_resume_common(pmcdev);
} }
...@@ -521,6 +523,7 @@ int lnl_core_init(struct pmc_dev *pmcdev) ...@@ -521,6 +523,7 @@ int lnl_core_init(struct pmc_dev *pmcdev)
lnl_d3_fixup(); lnl_d3_fixup();
pmcdev->suspend = cnl_suspend;
pmcdev->resume = lnl_resume; pmcdev->resume = lnl_resume;
pmcdev->regmap_list = lnl_pmc_info_list; pmcdev->regmap_list = lnl_pmc_info_list;
ret = pmc_core_ssram_init(pmcdev, func); ret = pmc_core_ssram_init(pmcdev, func);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment