platform/x86: dell-wmi-sysman: work around for BIOS bug
authorDivya Bharathi <divya.bharathi@dell.com>
Wed, 2 Dec 2020 13:19:35 +0000 (18:49 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Dec 2020 15:09:28 +0000 (16:09 +0100)
commit1f7cb4665df8a25ae577a822a47fc4576f60c30f
tree783a1c08b2d1a6f3eba7e5fd3ac1e85e5c1ac630
parenteca6ba20f38cfa2f148d7bd13db7ccd19e88635b
platform/x86: dell-wmi-sysman: work around for BIOS bug

BIOS sets incorrect value (zero) when SET value passed for integer
attribute with + sign. Added workaround to remove + sign before passing
input to BIOS.

Co-developed-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Co-developed-by: Prasanth KSR <prasanth.ksr@dell.com>
Signed-off-by: Prasanth KSR <prasanth.ksr@dell.com>
Signed-off-by: Divya Bharathi <divya.bharathi@dell.com>
Link: https://lore.kernel.org/r/20201202131935.307372-1-divya.bharathi@dell.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell-wmi-sysman/int-attributes.c