Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1444453pxb; Fri, 20 Aug 2021 05:54:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPy5tUQO82Cz3C5aqme/AJtx9agwcx7bH2elP/tuAPfpgsDAcMkKP4b6KaW1aCCq2pf5Sc X-Received: by 2002:a17:906:eb06:: with SMTP id mb6mr21531822ejb.50.1629464094908; Fri, 20 Aug 2021 05:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629464094; cv=none; d=google.com; s=arc-20160816; b=ivJLWtRO4myyG6DkA5ZxTndFyezoqtm5xwgUS6x8UbF55dobUjmKhwzbJfB1XNHb/T q7B+DRWNRUplRaro2M1MY5263xndHQ9NVgKtb9F+4F8GjKokoDwjC2ypUlvSU0zKfbtO ccYC5KvXLgZk+WmrD0oVpN5eNTfuvG5b9BRMAN9BJiSOoXaE/oXYit+W6wSXS51JNISw sv4GxGFBqmBKIt1zXXB47Z4NyT+dQ0ppr4KuGxp7aUg3J/D934f5U3dJ/2L+/NPiNy5a hcfA/c7VQAUILr2XL5kf6dEMvrqFXADwdHEOywwMGugCBcoUMRRNqjW2yvhlF+V+kUI/ LJmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=n/PAdbn5P6n2aKhN9FRsfedExM2bmcX9/pf+KTwxoQI=; b=TEIrN4XsCjg6SZfXswE3y3i7RHKz88JmQxFsmdA5tnUFqQ9vtk7D++RxwI5e2Zu6Ld /w/QyfFvoUaeCcZs6XuVmwNyE8OAClih6h7Nk8eMl6dgFrytqh1g7AGQQi6+P2XPwc2J 8GW6NlUTK2CU1SHfCuRylIzqGnzYOhKrI2BBtPiaIMxVhPUpKPk1iedy6/PlVEioM+vN DB9PMTnZdFpUCIj8zVyUhydWSXzP2kheFwa++Z0Mb4enLI205Lsj1Uq4mhiFrAxnZ31J HtHfPCEcXLPrQ3ybiqWQywP6piOe6+turVZOGI4xc79ZdK7CW8hU+nqaFPSbfe65Ta5f 3YXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZTsqA43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x42si6094155edy.566.2021.08.20.05.54.20; Fri, 20 Aug 2021 05:54:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZTsqA43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240579AbhHTMw5 (ORCPT + 99 others); Fri, 20 Aug 2021 08:52:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:40504 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240278AbhHTMw4 (ORCPT ); Fri, 20 Aug 2021 08:52:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E65A4610FA; Fri, 20 Aug 2021 12:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629463939; bh=OoTJIf38pBPH9S17dKpOwgVaFTVAqEHRnEu6JveyWhc=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=FZTsqA43x2jGcRP7WydZPjCvsyKRJxaT/FCaKij0xwsDQThXVEKN4gQCqeR0iVGFh 2EEWXroZTpX8PRXsxqpRdJddGSuU8XWzFB0WGsErBbGGwTr1Ung6585tbHtsj8JGGR W0vVrgMiOUe3B9u5uyqTNzOM2gpchriw9W3Zw68liRHjpzbG7gPy0m4hPGA6s2VJOE /MdBDQICa6ZSR66VsCvB6ffhebCXfUH8T51dS7cDQnWjwUTI+c3h0b5WlBz6Pcn+Ml 5u1yMM/Ov2lrvYiaNgDHkIWJUiVWk/f+WogAUDi3jKpn0bMUki+ano3Vfy8xL586sv pjT3RbXkfcJ7w== Date: Fri, 20 Aug 2021 14:52:15 +0200 (CEST) From: Jiri Kosina To: Jim Broadus cc: benjamin.tissoires@redhat.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, johnny.chuang.emc@gmail.com, kai.heng.feng@canonical.com Subject: Re: [PATCH] HID: i2c-hid: Fix Elan touchpad regression In-Reply-To: <20210809065505.6823-1-jbroadus@gmail.com> Message-ID: References: <20210809065505.6823-1-jbroadus@gmail.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 8 Aug 2021, Jim Broadus wrote: > A quirk was recently added for Elan devices that has same device match > as an entry earlier in the list. The i2c_hid_lookup_quirk function will > always return the last match in the list, so the new entry shadows the > old entry. The quirk in the previous entry, I2C_HID_QUIRK_BOGUS_IRQ, > silenced a flood of messages which have reappeared in the 5.13 kernel. > > This change moves the two quirk flags into the same entry. > > Fixes: ca66a6770bd9 (HID: i2c-hid: Skip ELAN power-on command after reset) > Signed-off-by: Jim Broadus Applied, thank you. -- Jiri Kosina SUSE Labs