HID: apple: Do not reset quirks when the Fn key is not found
authorJosé Expósito <jose.exposito89@gmail.com>
Thu, 18 Nov 2021 07:29:53 +0000 (08:29 +0100)
committerJiri Kosina <jkosina@suse.cz>
Fri, 19 Nov 2021 15:04:02 +0000 (16:04 +0100)
commita5fe7864d8ada170f19cc47d176bf8260ffb4263
tree65238d12187fd7b769f49ed9dff1577c9806ace6
parent5af06603c4090617be216a9185193a7be3ca60af
HID: apple: Do not reset quirks when the Fn key is not found

When a keyboard without a function key is detected, instead of removing
all quirks, remove only the APPLE_HAS_FN quirk.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-apple.c