Re: [PATCH v2] platform/x86: lenovo/ymc: Only match lower byte in WMI lid switch query response
From: Ilpo Järvinen
Date: Wed Jul 01 2026 - 07:33:41 EST
On Sun, 14 Jun 2026 22:30:26 +0200, Julian Haarmann wrote:
> On newer Lenovo Yoga devices like the "Yoga 9 2-in-1 14IPH11 - Type 83SE",
> the hinge switch WMI query returns extra data in the upper bits
> (e.g. 0x50001 laptop mode, 0x50002 tablet mode, ect.).
>
> The driver previously checked for exact matches (0x01 laptop, 0x02 tablet,
> ect.) causing newer switches to not work.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent or clearly a regression fix.
The list of commits applied:
[1/1] platform/x86: lenovo/ymc: Only match lower byte in WMI lid switch query response
commit: ace16d4d3f38c74d5934b7f7fb31c601ab32cd87
--
i.