]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86:intel/pmc: Replace dev_warn() with dev_dbg()
authorXi Pardee <xi.pardee@linux.intel.com>
Tue, 16 Sep 2025 19:13:32 +0000 (12:13 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 26 Sep 2025 11:26:09 +0000 (14:26 +0300)
Replace dev_warn() with dev_dbg() to reduce unnecessary warning messages.
When the low power mode priority register contains invalid data, the Intel
PMC Core driver can still utilize the default priority list. This scenario
is more suited for debug information rather than warning.

Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://patch.msgid.link/20250916191339.1748512-1-xi.pardee@linux.intel.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/intel/pmc/core.c

index de2dbf4ad65e0b2295aa17f72bf67fe2b50a7c24..5729810e5a4857a9af9acb7e057350fffaf2facc 100644 (file)
@@ -1244,7 +1244,7 @@ void pmc_core_get_low_power_modes(struct pmc_dev *pmcdev)
                for (mode = 0; mode < LPM_MAX_NUM_MODES; mode++)
                        pri_order[mode_order[mode]] = mode;
        else
-               dev_warn(&pmcdev->pdev->dev,
+               dev_dbg(&pmcdev->pdev->dev,
                         "Assuming a default substate order for this platform\n");
 
        /*