HID: apple: Add support for recent firmware on Magic Keyboards
authorMansour Behabadi <mansour@oxplot.com>
Wed, 29 Jan 2020 06:26:31 +0000 (17:26 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2020 09:54:23 +0000 (10:54 +0100)
commitf098e1a042b7f997d4348178df99a0f4821b86cf
treea549f9534251b57f2eddd2e5eff212f018df7c43
parent140421867f98b8d944562a01cff0a04298dc3ad2
HID: apple: Add support for recent firmware on Magic Keyboards

[ Upstream commit e433be929e63265b7412478eb7ff271467aee2d7 ]

Magic Keyboards with more recent firmware (0x0100) report Fn key differently.
Without this patch, Fn key may not behave as expected and may not be
configurable via hid_apple fnmode module parameter.

Signed-off-by: Mansour Behabadi <mansour@oxplot.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-apple.c