diff options
author | Shyam Sundar S K <Shyam-sundar.S-k@amd.com> | 2023-12-28 15:51:01 +0530 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-01-02 13:40:24 +0100 |
commit | 13313c135266ed62d33f43281fb22289865064fd (patch) | |
tree | cf376924ecb4e5c0bec75d7ac7b37692e132fd4d /drivers/platform/x86/mxm-wmi.c | |
parent | d8fb50fe6c5c3632079a1642afdd87d30e0d1bbe (diff) |
platform/x86/amd/pmc: call amd_pmc_get_ip_info() during driver probe
In the current code, amd_pmc_get_ip_info() is being called from
amd_pmc_s2d_init() and that code block gets enabled only when the STB is
being enabled.
But the information from amd_pmc_get_ip_info() will be required outside of
STB usecase. Hence move this call into driver probe sequence.
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231228102104.1785383-4-Shyam-sundar.S-k@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/mxm-wmi.c')
0 files changed, 0 insertions, 0 deletions