Add standard Aura (now new) board name to perf. profile workaround

- Convert remaining matches to string in for robustness
  (with occational space padding)
- Add missing device comment
This commit is contained in:
Christoffer Sandberg 2021-03-17 13:53:35 +01:00
parent afae768fda
commit e53d4870ea
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D

View file

@ -791,10 +791,11 @@ int clevo_keyboard_init(void)
// Workaround for firmware issue not setting selected performance profile.
// Explicitly set "performance" perf. profile on init regardless of what is chosen
// for these devices (Aura, XP14)
// for these devices (Aura, XP14, IBS14v5)
performance_profile_set_workaround = false
|| dmi_match(DMI_BOARD_NAME, "AURA1501")
|| dmi_match(DMI_BOARD_NAME, "NV4XMB,ME,MZ")
|| dmi_string_in(DMI_BOARD_NAME, "AURA1501")
|| dmi_string_in(DMI_BOARD_NAME, "NL5xRU")
|| dmi_string_in(DMI_BOARD_NAME, "NV4XMB,ME,MZ")
|| dmi_string_in(DMI_BOARD_NAME, "L140CU")
;
if (performance_profile_set_workaround) {