lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 304/667] HID: amd_sfh: Modify the hid name
    Date
    From: Basavaraj Natikar <Basavaraj.Natikar@amd.com>

    [ Upstream commit 10f865cdcf37d26ae5e9595a7b4f9e06538e84e5 ]

    Modifying the amd-sfh hid name to meaningful name.

    Fixes: 4b2c53d93a4b ("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>
    ---
    drivers/hid/amd-sfh-hid/amd_sfh_hid.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_hid.c b/drivers/hid/amd-sfh-hid/amd_sfh_hid.c
    index 8b8a7c40ed4e..a4bda2ac713e 100644
    --- a/drivers/hid/amd-sfh-hid/amd_sfh_hid.c
    +++ b/drivers/hid/amd-sfh-hid/amd_sfh_hid.c
    @@ -142,7 +142,7 @@ int amdtp_hid_probe(u32 cur_hid_dev, struct amdtp_cl_data *cli_data)
    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",
    + snprintf(hid->name, sizeof(hid->name), "%s %04X:%04X", "hid-amdsfh",
    hid->vendor, hid->product);

    rc = hid_add_device(hid);
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-06-07 21:19    [W:2.760 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site