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 10:55:52 +0000 (11:55 +0100)
commit2ca4fec1d0f0e6fcfb81fc4af0fed07eea8f687c
tree9c58b8d7b557d29992d33caf44dcb4787ec81b40
parente8faa2c49b863f2c545ec7087c03829335dda140
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