[PATCH 0/2] Fix for platform profile issues on USB-C-only models

From: Armin Wolf

Date: Fri Sep 04 2026 - 18:45:49 EST


After looking thru the ACPI tables of various people having issues
with the bitland-mifs-wmi driver, i came to the following conclusions:

1. There seem to be multiple flavors of the Mifs interface,
distinguishable by small changes inside their WMI MOF definitions

2. The buffer format used to communicate with the ACPI-WMI firmware
operates differently than previously thought.

This patch series addresses the second point I am aware that there
exist multiple outstanding patch series that partially overlap with
this one. All of those patch series still rely on the incorrect buffer
format currently being used by the driver, so i suggest that this
patch series be used as a new base for future patches.

All patches have been tested by a user on his Redmi Book Pro 16 2024.

Armin Wolf (2):
platform/x86: bitland-mifs-wmi: Detect failed function calls
platform/x86: bitland-mifs-wmi: Treat WMI_FN_SYSTEM_AC_TYPE as
optional

.../wmi/devices/bitland-mifs-wmi.rst | 64 +++++---
drivers/platform/x86/bitland-mifs-wmi.c | 146 +++++++++---------
2 files changed, 117 insertions(+), 93 deletions(-)

--
2.39.5