Message ID | 20221103155756.687789-2-benjamin.tissoires@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp621104wru; Thu, 3 Nov 2022 09:05:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4c9/AVK60vhzmGil4O17B5EBT6en8yc8WQGcUhhhPJsaMc8aArYE0sIp0Hc0DdrarPiN22 X-Received: by 2002:a17:90b:118:b0:215:4338:d05e with SMTP id p24-20020a17090b011800b002154338d05emr8222189pjz.88.1667491550112; Thu, 03 Nov 2022 09:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667491550; cv=none; d=google.com; s=arc-20160816; b=S316Vxt9Ed/jQ2TWVf++zuQBSMD9oHp4EmSfaONJaHuF+62oNu0KhmyyDUQZk5GLIb HDYGa6Cs/oUYAYUHcNcCBSXNTFQHDyM79SuPibtC2hlAWanXFvYMZ3wahVZtNtHW6+Ax bipRhz3GRodB28lBkd+OmbMsZJsrgVi1atRFQcIfvop/vK3wm1uy3a02N4YTmppFdj9D Q8js2kzheJjsbnVjnXxrKyiKu+kJH8LAd5C+w9wpqiaMm0KUft6AkBibPm8ABk2WoueM BsPtuJoE0rGZJIK76vxR9rNjqJJbFh+I8khu+Xvkqfj5Qh6TofSQVo+UdUcyrgsS3Ij6 Ty8A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k0lF3jiA7LcuE7cjXHq5WxwDLQT0EehPUVXz7ddg0CE=; b=gIcq3Dt/xvgMX+eOsVKj5dBPPsD0YTHOMriZ9IQvmKY9lk+NQtbJc8vwkvXROVa9kD b4bWTJ9DzCqEmsy6pq8Rwjr0Jts8FZ85K3gjo9v/HAXyy9PVXZMdZ/p91DgHCn87Y7Q/ YyjbLAKAvHOezPaiXNO9lBlD64ub6DfYD6Xa6jWF5SE+6dN508IaL+ghJAYLrQFqYz+i UGmrABHz0zgXV4HX0NTsDaEylt52Ujgi5nKdsjDcn/IvI0sKlxpDJ5LU/P2NlURPwYUj SJjrBMVxmmBPSEJYsQX3mbTtEcIm9w+SykbRJRYuOfE+OvSUvvT8u7rVJgZL5fCfTkQh f+XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YemPeJ20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a056a0024ca00b0056d964fa5f7si1523162pfv.14.2022.11.03.09.05.35; Thu, 03 Nov 2022 09:05:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YemPeJ20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231611AbiKCQAT (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Thu, 3 Nov 2022 12:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231893AbiKCQAM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Nov 2022 12:00:12 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CE1BE0C2 for <linux-kernel@vger.kernel.org>; Thu, 3 Nov 2022 08:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667491106; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k0lF3jiA7LcuE7cjXHq5WxwDLQT0EehPUVXz7ddg0CE=; b=YemPeJ20PEw2dEUyDu4n8quF5iWdkYTLsujlXuZPGv75GR0LHXUEqbY1fwKpf0KsfiDySi jxh5leaOQpvi0/1yhG8jKKmYmQyLwhyEudHUAjyxy1Z7Qlri2PIZpC8BO+QU+hHiGqYxgD P7g4f8iRa0PgVLp3+kmzN9f8uhGrGCI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-252-VgAeypOdM3mwJlAFdLcOIA-1; Thu, 03 Nov 2022 11:58:21 -0400 X-MC-Unique: VgAeypOdM3mwJlAFdLcOIA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 72AE33C11047; Thu, 3 Nov 2022 15:58:20 +0000 (UTC) Received: from plouf.redhat.com (unknown [10.39.192.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id A95F54A9254; Thu, 3 Nov 2022 15:58:18 +0000 (UTC) From: Benjamin Tissoires <benjamin.tissoires@redhat.com> To: Greg KH <gregkh@linuxfoundation.org>, Jiri Kosina <jikos@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <shuah@kernel.org> Cc: Tero Kristo <tero.kristo@linux.intel.com>, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, Benjamin Tissoires <benjamin.tissoires@redhat.com>, kernel test robot <lkp@intel.com> Subject: [PATCH hid v12 01/15] HID: fix I2C_HID not selected when I2C_HID_OF_ELAN is Date: Thu, 3 Nov 2022 16:57:42 +0100 Message-Id: <20221103155756.687789-2-benjamin.tissoires@redhat.com> In-Reply-To: <20221103155756.687789-1-benjamin.tissoires@redhat.com> References: <20221103155756.687789-1-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748491619592618057?= X-GMAIL-MSGID: =?utf-8?q?1748491619592618057?= |
Series |
Introduce eBPF support for HID devices
|
|
Commit Message
Benjamin Tissoires
Nov. 3, 2022, 3:57 p.m. UTC
When I2C_HID_OF_ELAN is set, we need to turn on I2C_HID_CORE to
ensure we get all the HID requirements.
Fixes: bd3cba00dcc6 ("HID: i2c-hid: elan: Add support for Elan eKTH6915 i2c-hid touchscreens")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
---
new in v12
---
drivers/hid/i2c-hid/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Thu, 3 Nov 2022, Benjamin Tissoires wrote: > When I2C_HID_OF_ELAN is set, we need to turn on I2C_HID_CORE to > ensure we get all the HID requirements. > > Fixes: bd3cba00dcc6 ("HID: i2c-hid: elan: Add support for Elan eKTH6915 i2c-hid touchscreens") > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> > > --- > > new in v12 As this one has in principle nothing to do with the HID-BPF support, and is actually a functional fix, I've cherry-picked this one into hid.git#for-6.1/upstream-fixes. Thanks,
diff --git a/drivers/hid/i2c-hid/Kconfig b/drivers/hid/i2c-hid/Kconfig index 5273ee2bb134..d65abe65ce73 100644 --- a/drivers/hid/i2c-hid/Kconfig +++ b/drivers/hid/i2c-hid/Kconfig @@ -66,6 +66,6 @@ endmenu config I2C_HID_CORE tristate - default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_GOODIX=y - default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_GOODIX=m + default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_ELAN=y || I2C_HID_OF_GOODIX=y + default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_ELAN=m || I2C_HID_OF_GOODIX=m select HID