Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8265007ybi; Thu, 6 Jun 2019 09:16:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOnbjlVMs1jadm+Y3+sdf1YNhFTFDeH26JxfvFuowQpoCLVv4vOWOn8itJQoo9wgv+2WLS X-Received: by 2002:a63:dd05:: with SMTP id t5mr3918591pgg.229.1559837772187; Thu, 06 Jun 2019 09:16:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559837772; cv=none; d=google.com; s=arc-20160816; b=vgeNBNeq40iLLJSOiO2W9qK9bWD7UzlYDuNRM7SQDZsEJZAlI6suItbP8eSmhFi87K jKeW8Vw/s0WAhfNHlrW/l+jR65qm+XfTWzbHNkhf0S44BIgu3AHoI+5QP13zr85k6QSb y5FocgriNstSs941z31gRolr1DCfD/v7XcI7tMBIueSWsXyt6UopIblVRT0X1RtwoaCQ 18HkQUMi3HohixPmeVKh6SkuYzrm8xH8bqJ/Te3TtiaTzX219rm0kpyN+8YOfTkk4hgy yhh9kXv0j/WaxrS4b8lds+3bHO0dhAnGob+WJmz/mfKmxYN3ZmoTh02Y2JX52mem1MxN SylA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=8u4AvA1sIMgEzuM/x3lHcTV/bwwXCima3mBOZhUSdFI=; b=vHyctRfmgeEmtZRGJi2E/Gu3RDLWDAykg8D2qePqekwQF8qOT7QFz6BSavENbesIBw QOfZVNL9KgoONxMxuYmLmWSpbrN168WvnH0J72Jnhd++1bSYi5ehRTkvwMhW4TG5gMIc Lm/eq++Z9iD4eTHVNM2W8OLIgfRVrbLXYWrUVXmLPywC6TYb23fIljvujNHCO4VGrKa5 +gCoFhCldYDDAb5TKs38g0lHQ0usm1s2nz48ZN+pJy3QkUYD0vegb/yCaZCpb/47QqwE ftef2GuqCVtMFeuDtWBqzbae6v0WVj9mG5olgzQcu18bvpSZ7oLrtpgOAwaA50a6z1j4 YHhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kT7Fsnic; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si2015708pll.205.2019.06.06.09.15.55; Thu, 06 Jun 2019 09:16:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kT7Fsnic; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729617AbfFFQOj (ORCPT + 99 others); Thu, 6 Jun 2019 12:14:39 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44776 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729473AbfFFQOj (ORCPT ); Thu, 6 Jun 2019 12:14:39 -0400 Received: by mail-pf1-f194.google.com with SMTP id t16so1787643pfe.11; Thu, 06 Jun 2019 09:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8u4AvA1sIMgEzuM/x3lHcTV/bwwXCima3mBOZhUSdFI=; b=kT7Fsniciw2f40+K1s4IkMHC8bDhyvF8jbQdBVisMQCZ39Mu54PB5US7bxWAGD2Y2u duKU56MJYnjYjyR02gUKqI7M3y68J41NwGqUrt7v1vcY2VXTpLtSPOmvaGjHHSftclap pRH6zMh2GEnPmHRyzQ3qI0gy5+xidPCpfTgMTA5A1xB6CP2Zv++C2M+r7U6riPlRMDyv Ci5ZPtyKFXbREqx6WKj5jVJa9GJeXqOO1Wcbeb4iQ/5Wc5E2W23AeyraKsYBSXNJYTtS eXKGEr6P8V4DHeAUGkE9k/8TFXP1c97TCMjwrl4ML+aJ6JGpmwKlUfK3ivWV4W4/gTBZ m89g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8u4AvA1sIMgEzuM/x3lHcTV/bwwXCima3mBOZhUSdFI=; b=A8gNaVFXcOFhpumlfJx4E38yJ6ueYT89DKFbu4vH0/g4OWapl66V2jJbXdCsybvOWe AZz2dFGT8HgI9mUU9mwn+2OMDVI6Hj9stBpU+sn/fZfrgg3kQPrnrLv0zcnjoei82qcE xHv8liF8iMHJzLjdmF/d3+4YzrFqk3TUdUE2Hn9iT0Fs1RHInOxKDvvYiau3F8svhoyo V/jDKQSDVvxEu27+N2zsG/KOqUMEOGNcsvDAWTfy/uKYwHdvVEts2oClABV+9YETYMxT uAv70EfiLYYGJtCsLKkvAmMWMaFz/swByI8SeIKO3DoW6sPriw/9PNuBJ9/VUlha9mwq Q09A== X-Gm-Message-State: APjAAAXCqrOmI5sEz8/iCKCs4hieNA1E7TWd4iu7Q4ufa+l8v+g55OUy Eq8R7Nlrbzyeaxe9v++gVzA= X-Received: by 2002:a17:90b:d8a:: with SMTP id bg10mr668105pjb.92.1559837678767; Thu, 06 Jun 2019 09:14:38 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id v126sm4667062pfb.81.2019.06.06.09.14.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2019 09:14:38 -0700 (PDT) From: Jeffrey Hugo To: benjamin.tissoires@redhat.com, dmitry.torokhov@gmail.com, jikos@kernel.org Cc: bjorn.andersson@linaro.org, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, agross@kernel.org, david.brown@linaro.org, hdegoede@redhat.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v5 1/3] Input: elan_i2c: Add comment about link between elan_i2c and hid-quirks Date: Thu, 6 Jun 2019 09:13:12 -0700 Message-Id: <20190606161312.47143-1-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190606161055.47089-1-jeffrey.l.hugo@gmail.com> References: <20190606161055.47089-1-jeffrey.l.hugo@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Elan_i2c and hid-quirks work in conjunction to decide which devices each driver will handle. Document this link in elan_i2c as a reminder that updates to elan_i2c need to be mirrored to hid-quirks. Signed-off-by: Jeffrey Hugo --- drivers/input/mouse/elan_i2c_core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index 65cd325eabc3..4cb49925a8b4 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c @@ -1374,6 +1374,10 @@ static const struct i2c_device_id elan_id[] = { }; MODULE_DEVICE_TABLE(i2c, elan_id); +/* + * when these whitelists get updated, the corresponding blacklist in hid-quirks + * needs to be updated to match. + */ #ifdef CONFIG_ACPI static const struct acpi_device_id elan_acpi_id[] = { { "ELAN0000", 0 }, -- 2.17.1