HID: amd_sfh: Add support for sensor discovery
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Mon, 9 May 2022 13:20:20 +0000 (18:50 +0530)
committerJiri Kosina <jkosina@suse.cz>
Wed, 11 May 2022 12:16:26 +0000 (14:16 +0200)
commitb5d7f43e97dabfa04a4be5ff027ce7da119332be
tree87f93a3970cc9a1211c84f8b1db5d593f2d20695
parent62f8857b2d082069b11851d1ae8ce101752436ee
HID: amd_sfh: Add support for sensor discovery

Sensor discovery status fails in case of broken sensors or
platform not supported. Hence disable driver on failure
of sensor discovery.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@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