platform/x86: toshiba_acpi: Fix ECO LED control on Toshiba Z830
authorArvid Norlander <lkml@vorpal.se>
Sun, 21 Aug 2022 20:08:21 +0000 (22:08 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 26 Aug 2022 10:57:29 +0000 (12:57 +0200)
commit4058ea22d7ce26d3d71698768e636274d08e9ccd
tree6c8faf4d644ae15b1727b5ce0ca47e68b129883a
parent23657a437ea2fbccc715fce2dac74e3c923540cf
platform/x86: toshiba_acpi: Fix ECO LED control on Toshiba Z830

The toshiba_acpi driver checks for TOS_INPUT_DATA_ERROR and tries a
different format. On the Z830 the error returned is TOS_NOT_SUPPORTED
though the different format still works. Allow either error.

Signed-off-by: Arvid Norlander <lkml@vorpal.se>
Link: https://lore.kernel.org/r/20220821200821.1837460-2-lkml@vorpal.se
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/toshiba_acpi.c