Not all platforms support STB, and by activating it on a platform without
support a few bugs were exposed.
This series cleans them up.
Cc: Francis De Brabandere <francisdb@gmail.com>
Mario Limonciello (4):
platform/x86/amd/pmc: Fix LPS0 and debugfs leaks when STB init fails
platform/x86/amd/pmc: Fix error handling in amd_stb_s2d_init()
platform/x86/amd/pmc: Do not fail probe when STB init fails
platform/x86/amd/pmc: Validate S2D physical address before ioremap
drivers/platform/x86/amd/pmc/mp1_stb.c | 43 +++++++++++++++++---------
drivers/platform/x86/amd/pmc/pmc.c | 11 ++++++-
2 files changed, 39 insertions(+), 15 deletions(-)
--
2.43.0