diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2022-05-09 16:20:21 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-05-11 15:16:26 +0300 |
commit | 696455e9d099fb024017e4d8a42b517dfd45b79e (patch) | |
tree | 026c988d7ef187aff3531bd21f56ddfe36993ace /drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | |
parent | b5d7f43e97dabfa04a4be5ff027ce7da119332be (diff) | |
download | linux-696455e9d099fb024017e4d8a42b517dfd45b79e.tar.xz |
HID: amd_sfh: Add sensor name by index for debug info
Adding get sensor name for debug info. This will make debug
messages clearer.
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>
Diffstat (limited to 'drivers/hid/amd-sfh-hid/amd_sfh_pcie.h')
-rw-r--r-- | drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h index 9aa88a91ac8d..8c760526132a 100644 --- a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h +++ b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h @@ -138,6 +138,7 @@ int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata); u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts); void amd_mp2_suspend(struct amd_mp2_dev *mp2); void amd_mp2_resume(struct amd_mp2_dev *mp2); +const char *get_sensor_name(int idx); struct amd_mp2_ops { void (*start)(struct amd_mp2_dev *privdata, struct amd_mp2_sensor_info info); |