]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
platform/x86: asus-armoury: fix mini-led mode show
authorDenis Benato <denis.benato@linux.dev>
Thu, 20 Nov 2025 02:40:59 +0000 (03:40 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 21 Nov 2025 15:28:29 +0000 (17:28 +0200)
commit6b87f7ea741794d26d22ac40242ea5e1c57da7c9
treeca96a673ab937f098b7304abee2ca9cefb5e0d29
parent0a69fe8f097f7410dc232259129d334518d4e8dc
platform/x86: asus-armoury: fix mini-led mode show

Perform the actual check of the mini-led mode against supported modes
and do not return the first one regardless of the WMI devstate.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/aR1xbxEQyQPEvB9o@stanley.mountain/
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20251120024059.1341326-1-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-armoury.c