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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 08:00:54 +0000 (09:00 +0100)
commitb4303a22ee66080b5275943f6c770b2560a3e005
treedcc8ce0a29164bffd3c948392754d046adb40704
parente74a5b78c45ff97f41554c49115237954e5ea27e
HID: apple: Do not reset quirks when the Fn key is not found

[ Upstream commit a5fe7864d8ada170f19cc47d176bf8260ffb4263 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-apple.c