On Wed, Jan 13, 2021 at 8:23 PM Barnabás Pőcze <pobrn@xxxxxxxxxxxxxx> wrote: > > Bit 9 in the return value of the HALS ACPI method is set if > Fn-lock is supported. Change ideapad_check_features() to check it. ... > + if (!eval_hals(handle, &val)) > + if (test_bit(HALS_FNLOCK_SUPPORT_BIT, &val)) > + priv->features.fn_lock = true; if (a) { if (b) { ... } } == if (a && b) { ... } -- With Best Regards, Andy Shevchenko