Skip to content

platform/x86: msi-wmi-platform: Fix autoloading

Armin Wolf lkml platform-driver-x86 1 version Applied

Status from this message: I've applied this series to the review-ilpo-fixes branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2platform/x86: msi-wmi-platform: Only load on MSI devicesdrivers/platform/x86/Kconfig drivers/platform/x86/msi-wmi-platform.c+41 -12 replies
2/2platform/x86: msi-wmi-platform: Fix typo in WMI GUIDDocumentation/wmi/driver-development-guide.rst drivers/platform/x86/msi-wmi-platform.c+2 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAntheas Kapenekakis
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] platform/x86: msi-wmi-platform: Fix autoloading

As already noted by Antheas Kapenekakis back in May, the msi-wmi-platform driver fails to automatically load on MSI Claw devices. Back then i suspected an issue with the device firmware, however i just found out that i made a silly mistake when specifying the GUID string of the driver, preventing the WMI driver core from matching it to its WMI device.
Additionally i noticed that said GUID was copied from the Windows driver samples, meaning that it might be shared across different vendors. Because of this we have to prevent this driver from loading on non-MSI devices.

Compile-tested only.

Armin Wolf (2):
platform/x86: msi-wmi-platform: Only load on MSI devices platform/x86: msi-wmi-platform: Fix typo in WMI GUID

 .../wmi/driver-development-guide.rst          |  1 +
 drivers/platform/x86/Kconfig                  |  1 +
 drivers/platform/x86/msi-wmi-platform.c       | 43 ++++++++++++++++++-
 3 files changed, 43 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.5