HID: amd_sfh: Extend driver capabilities for multi-generation support
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Fri, 18 Jun 2021 08:18:36 +0000 (13:48 +0530)
committerJiri Kosina <jkosina@suse.cz>
Thu, 24 Jun 2021 12:28:03 +0000 (14:28 +0200)
commitf264481ad614dfd9aae59eeefa5fc664cdf173ae
treee68879edbbe2fa346468399208795e66ef2d31e5
parent231bc539066760aaa44d46818c85b14ca2f56d9f
HID: amd_sfh: Extend driver capabilities for multi-generation support

Initial driver support only covered the first generation of SFH
platforms. In order to support the future generations introduce
ops selection to distinguish the different platforms.

Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Reviewed-by: Nehal Shah <nehal-bakulchandra.shah@amd.com>
Reviewed-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/amd-sfh-hid/amd_sfh_client.c
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
drivers/hid/amd-sfh-hid/amd_sfh_pcie.h