Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2134483iof; Tue, 7 Jun 2022 20:54:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9zo89kxrkUPD+cjGiH9CFeJp2fc6zROUP+qW8I9uzy2DzP108g3AmTqdzGdlsvhM3f9oK X-Received: by 2002:a63:d314:0:b0:3fc:7054:bf54 with SMTP id b20-20020a63d314000000b003fc7054bf54mr27853497pgg.615.1654660470159; Tue, 07 Jun 2022 20:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654660470; cv=none; d=google.com; s=arc-20160816; b=MQrwKoAjcHgSt+dcs1aK5pBAVSnGDwL7y49qUZgxVoAwzg1uHyFbQ4VzH4Kp3+276e 8DAKB+bbbdFZOJT0tgW1zePmftnEgpyQz5YhkGLzhhu6TiwyGSi8O069yLTzNrk00udF rC1rq4JJcllRkMVcYS2pLdi8iQiPdX1rCJxMjtB4kdx+pqND9oLZWAtyGTq0Y2kw3F0o OQlW+abSxWyyzumdl++lPNIRtfRq2haHR0FaFG8t8IsBpuGqN/fF0GijLIwrrnf2RO25 B0pr3M/65WUbL3OpsfycB1IMfpLUC8UktQh+FvXYPfIAkCDqieinG3xFXqXy/lnC8g3Z S9pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FHPXle6gbrT0G7qAsYeMs6LdI9/RvpRlYHRLeKr9nFg=; b=bL9mfu1fXd9XYxC1MHXM3jeULsp5KoJ8tGUuz1z8SG02A9I1Tn2oai4rCIZ6mEuT8i 2uDDxhELUZUpyiLwLwkKvhmMq871BqC6LtUXKRteVd1sjzXBRhQi11gAQVjQEpxtnPhb j8+oyQwP6EqRMaqyUJfIpYbCqsEB1Ju2D9ha8lakVhBAD2TzZkdzSL/Iv/JWJFCTlIF9 ICctnxGPwOhtOnPXY+BhNstNRJMx6JkNC+dvNZ/UDpyfjM53sN4u2/VdNkFNUMAu//hf FhhRzRLYUrXm5pD/FH3gOVIY8d6OlvHF4g9CZy8079tCcAYkAy0c4fIjR/ffN+QeIOWF XieA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hQBUrfvj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l22-20020a63f316000000b003fdbe8599fesi9076629pgh.749.2022.06.07.20.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 20:54:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hQBUrfvj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B49B93F5EAA; Tue, 7 Jun 2022 20:23:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386052AbiFGWrx (ORCPT + 99 others); Tue, 7 Jun 2022 18:47:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381112AbiFGVjp (ORCPT ); Tue, 7 Jun 2022 17:39:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50AB5230990; Tue, 7 Jun 2022 12:05:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E08EA617DA; Tue, 7 Jun 2022 19:05:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0522C385A2; Tue, 7 Jun 2022 19:05:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628750; bh=voKeWoxAo4WPTzbvPo2ODXGQq48NrtB6KBr1akkVLNQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hQBUrfvjSbm1ogJ5GZTMmoQZ287wwTdAp3y6BfJpDPAEj+FLkGc1pNM0ufmFfQQDL WTCCH6EXlzBSGDxpxnxOZJntwnZYbOAqYOO8NtzSC0Y9BftXyXI5f9ps8JdekmCapn aprlp954OK7HPGw7f1LlZhByIlgZv8mUXiUW2Gyo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mario Limonciello , Basavaraj Natikar , Jiri Kosina , Sasha Levin Subject: [PATCH 5.18 415/879] HID: amd_sfh: Modify the bus name Date: Tue, 7 Jun 2022 18:58:53 +0200 Message-Id: <20220607165014.906926018@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Basavaraj Natikar [ Upstream commit 206c3c2d85de8847fb732a5fb71443bacd287216 ] Modifying the amd-sfh bus name to meaningful name. Fixes: 4b2c53d93a4b ("SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)") Signed-off-by: Mario Limonciello Signed-off-by: Basavaraj Natikar Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/amd-sfh-hid/amd_sfh_hid.c | 2 +- drivers/hid/amd-sfh-hid/amd_sfh_hid.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_hid.c b/drivers/hid/amd-sfh-hid/amd_sfh_hid.c index 2bf97b6ac973..6e487e41f4dd 100644 --- a/drivers/hid/amd-sfh-hid/amd_sfh_hid.c +++ b/drivers/hid/amd-sfh-hid/amd_sfh_hid.c @@ -141,7 +141,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", diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h index c60abd38054c..cb04f47c8648 100644 --- a/drivers/hid/amd-sfh-hid/amd_sfh_hid.h +++ b/drivers/hid/amd-sfh-hid/amd_sfh_hid.h @@ -12,7 +12,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 -- 2.35.1