]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Sep 2022 21:04:07 +0000 (23:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:22:53 +0000 (13:22 +0200)
commita72ae5bc1480a0770c66943f92dfe57fc9f9f34d
tree7a8f3635ff633af424d68c86fd76d757f5c7f47b
parente7bea433f238947aee6165ee4de83592de40f750
platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading

[ Upstream commit a64b8ee898c3319f74ca0cd79172620bf87a192f ]

On a MSI S270 with Fedora 37 x86_64 / systemd-251.4 the module does not
properly autoload.

This is likely caused by issues with how systemd-udevd handles the single
quote char (') which is part of the sys_vendor / chassis_vendor strings
on this laptop. As a workaround remove the single quote char + everything
behind it from the sys_vendor + chassis_vendor matches. This fixes
the module not autoloading.

Link: https://github.com/systemd/systemd/issues/24715
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220917210407.647432-1-hdegoede@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/msi-laptop.c