Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3043366pxf; Sun, 21 Mar 2021 16:48:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeuXyrFkNq/EQsh31ImnMjOrv+QS7uejSDxQ5AYAEHP2SGaJ7F6wKjE+Plmuqxh6XzYSOG X-Received: by 2002:a17:906:dfcc:: with SMTP id jt12mr16608234ejc.31.1616370496135; Sun, 21 Mar 2021 16:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616370496; cv=none; d=google.com; s=arc-20160816; b=r5N/tzlyHIM8Q0IZ/YjCzA2g06e4vzNbTDIiRzHgfZzKaNPR9+vnDxNipAWPpiXImk xHV3m+AhNEAqgqEJDPqV6S7L7fy48SvTvT8iwKatVdeuQgUftOXVA2Siip05nqStcqXN 3RezkLvtXwOEofMspCpAsDR6xvYTqPicJDEV8C0GiU1PjYK3vheFuolEYIFUxrzLWPvj 5bCQhxNpE3IE5PXmk/ycklHfNyGt9lub5r8xJdSNMPOoxYOB24Ba2BSxxSZglrVrT468 G0swXKVixTWzIJJzS/2ElFINlrlpW7nN8shhwSQ/n9PRqN1TgUwXEfUBCUTI7vJgfQ1L JHoA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=7W0pa9c6/lc5+NUqBizZgIJTST2OMdRIVY4bPA7PVGo=; b=gP9bDCNOLRdqowmcalHyl7CLOYauC90Pm29FCST2vhvdIJUHAmsBY8myPrsWREBLEG XcTPsjHXUkzMj4MbyBy1PzK3DKyGiysIZgVzfA5W8G+Uqo8ssc/PGl1tJ8KLCC5Ott2Z 7rqrGKOAVVInyB2R75TUqXl2NBGJ4yRJx0EOkWISpCB3tptcgQBIqWw/g7uaO5LPcstm rL/FOQL4+lELdjGebvWrPRVpduKZ4hBRbGEQTD/gYCIb8bpXkyrmPX+mkyuPx+1RVefG P66GFOH05A/sSm65/D/WnlDWb5eVJ9ONaZkbOzeShu3ypeMg/DIQsG1d7yGHYczp0ehB RDLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VelQUnv3; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p12si9394484edq.288.2021.03.21.16.47.54; Sun, 21 Mar 2021 16:48:16 -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=@gmail.com header.s=20161025 header.b=VelQUnv3; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbhCUWBC (ORCPT + 99 others); Sun, 21 Mar 2021 18:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbhCUWAs (ORCPT ); Sun, 21 Mar 2021 18:00:48 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57BA6C061574; Sun, 21 Mar 2021 15:00:48 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id mz6-20020a17090b3786b02900c16cb41d63so7509791pjb.2; Sun, 21 Mar 2021 15:00:48 -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:mime-version :content-transfer-encoding; bh=7W0pa9c6/lc5+NUqBizZgIJTST2OMdRIVY4bPA7PVGo=; b=VelQUnv3VmAnuR5wBgvALxfXQw8wjltyBjf7cnOGAe4D1/wldApcnIeno/yHQHDoHH ym0tJCl3EkAJmDCMB9YDCij+DyO/J8bEnPI1F9mzLqj/k7mGt56X480869171OgiGWk0 jBN0ZvTjk5DL+GX5pCnnhQc+HQuAqm58fFk0i3Ozi+tgs3mwmBlyAUKvL0l4U1Ykkju5 otJeBbKSrII/7CTxbISm2xIEro+dOetDI1SQtuBVn9kcHL/L9pnTtypJAoRGxitWyjZg QQVY9uwmiXG3vCdpnfnG+Dq/g5Jw9/F7CFogbeU7p7Ontx2epOHe5hIyeP8oakjNVAnS eKfw== 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:mime-version :content-transfer-encoding; bh=7W0pa9c6/lc5+NUqBizZgIJTST2OMdRIVY4bPA7PVGo=; b=f9hy768q7qPM+SFYRsg2QRKy7SqfDnkNdOAi/VqpjI+qq7cn5GVn1M92Aed6yG9Tnd EiCit5M6vEx2HX4I5RkpzGhUj85pqAkYWazU079nxtFRuXNRDr1gzpNmJ7AOWxGA2qlo EOvvUjNDtCaNzYRC04DYkDjjrQlVLqRzN82oJ14k3I73WQe1ONYU+iO1wIsTOueC1GRz UcU5U6ufzsd1ABum6tdcpWwlr/6f/GBf3fGMxuKNCuHtJOzjBJBbchW2kgsAsSgTjby7 caoLbWwHZ3v7xvQcZuzF+jacXrMNIac8peQM2EjxRtoEclHkbehzn/8SXbajIthZJAN6 9XnA== X-Gm-Message-State: AOAM530f5U1KBTSGfSy1mP30wxFCFk7or/DcXFWJeVuJmjVcZu0AbVh+ +K6UZPjqSF1acnM9afav9i2pu8h2OlA= X-Received: by 2002:a17:90a:fd89:: with SMTP id cx9mr9828849pjb.93.1616364047334; Sun, 21 Mar 2021 15:00:47 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:85c2:9df1:533a:87e9]) by smtp.gmail.com with ESMTPSA id w17sm10617557pgg.41.2021.03.21.15.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Mar 2021 15:00:46 -0700 (PDT) From: Dmitry Torokhov To: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Alistair Francis Subject: [PATCH 1/2] Input: wacom_i2c - do not force interrupt trigger Date: Sun, 21 Mar 2021 15:00:42 -0700 Message-Id: <20210321220043.318239-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.31.0.rc2.261.g7f71774620-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Instead of forcing interrupt trigger to "level low" rely on the platform to set it up according to how it is wired on the given board. Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/wacom_i2c.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 1afc6bde2891..609ff84e7693 100644 --- a/drivers/input/touchscreen/wacom_i2c.c +++ b/drivers/input/touchscreen/wacom_i2c.c @@ -195,8 +195,7 @@ static int wacom_i2c_probe(struct i2c_client *client, input_set_drvdata(input, wac_i2c); error = request_threaded_irq(client->irq, NULL, wacom_i2c_irq, - IRQF_TRIGGER_LOW | IRQF_ONESHOT, - "wacom_i2c", wac_i2c); + IRQF_ONESHOT, "wacom_i2c", wac_i2c); if (error) { dev_err(&client->dev, "Failed to enable IRQ, error: %d\n", error); -- 2.31.0.rc2.261.g7f71774620-goog