Skip to content

Commit

Permalink
HID: amd_sfh: Modify the bus name
Browse files Browse the repository at this point in the history
[ Upstream commit 206c3c2 ]

Modifying the amd-sfh bus name to meaningful name.

Fixes: 4b2c53d ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)")
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Basavaraj Natikar authored and gregkh committed Jun 9, 2022
1 parent 7fef8ec commit 21e8fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/hid/amd-sfh-hid/amd_sfh_hid.c
Expand Up @@ -139,7 +139,7 @@ int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data)

hid->driver_data = hid_data;
cli_data->hid_sensor_hubs[cur_hid_dev] = hid;
hid->bus = BUS_AMD_AMDTP;
hid->bus = BUS_AMD_SFH;
hid->vendor = AMD_SFH_HID_VENDOR;
hid->product = AMD_SFH_HID_PRODUCT;
snprintf(hid->name, sizeof(hid->name), "%s %04X:%04X", "hid-amdtp",
Expand Down
2 changes: 1 addition & 1 deletion drivers/hid/amd-sfh-hid/amd_sfh_hid.h
Expand Up @@ -10,7 +10,7 @@
#define AMDSFH_HID_H

#define MAX_HID_DEVICES 5
#define BUS_AMD_AMDTP 0x20
#define BUS_AMD_SFH 0x20
#define AMD_SFH_HID_VENDOR 0x1022
#define AMD_SFH_HID_PRODUCT 0x0001

Expand Down

0 comments on commit 21e8fc0

Please sign in to comment.