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)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Sep 2022 12:44:22 +0000 (14:44 +0200)
commit2a2565272a3628e45d61625e36ef17af7af4e3de
treecd125ce41983fce960759eb5df61b7f9d4ddf6e4
parent91809918730f9596acc1ea4ce2e8419543653b87
platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading

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
drivers/platform/x86/msi-laptop.c