From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLACK autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA160C38A2B for ; Fri, 17 Apr 2020 21:18:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8FD7A2083E for ; Fri, 17 Apr 2020 21:18:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="sKr8AsmV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbgDQVSY (ORCPT ); Fri, 17 Apr 2020 17:18:24 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:60290 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbgDQVSX (ORCPT ); Fri, 17 Apr 2020 17:18:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1587158300; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5k83m+YQ/YjzGCYNL53EXy0Y9lSW9rtJnIlxD9H/TDA=; b=sKr8AsmVcnP58PaG7Ml8U/UnEWO2S+S8NsYqW3PgRr40iK50euk4O6fUOjT1qSV+tEzetN z//xT9wtdEkKLhs1xaAXXWgeTMbNd5f3xWKnZCiYhFYI2VhTEFacMTh9YJ9VqXwgANvOhn zpR9n7Rq7LYOjf8HwU//sQMZsQmtkvE= Date: Fri, 17 Apr 2020 23:18:08 +0200 From: Paul Cercueil Subject: Re: [RESEND PATCH v5 3/5] IIO: Ingenic JZ47xx: Add touchscreen mode. To: Andy Shevchenko Cc: Artur Rojek , Dmitry Torokhov , Rob Herring , Mark Rutland , Jonathan Cameron , Heiko Stuebner , linux-input , devicetree , linux-iio , Linux Kernel Mailing List Message-Id: <86BY8Q.C5XO8D57M7BI1@crapouillou.net> In-Reply-To: References: <20200417202859.35427-1-contact@artur-rojek.eu> <20200417202859.35427-3-contact@artur-rojek.eu> <3KAY8Q.NNI6X4F9QRIX1@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le sam. 18 avril 2020 =E0 0:13, Andy Shevchenko=20 a =E9crit : > On Sat, Apr 18, 2020 at 12:05 AM Paul Cercueil =20 > wrote: >> Le ven. 17 avril 2020 =E0 23:59, Andy Shevchenko >> a =E9crit : >> > On Fri, Apr 17, 2020 at 11:21 PM Artur Rojek=20 >> >> > wrote: >=20 > ... >=20 >> >> + irq =3D platform_get_irq(pdev, 0); >> > >> > Before it worked w/o IRQ, here is a regression you introduced. >>=20 >> Before it simply did not need the IRQ, which is provided by the >> devicetree anyway. No regression here. >=20 > Does it work without IRQ? Or it was a dead code till now? > For me it's clear regression. Otherwise something is really wrong in a > process of development of this driver. Nothing wrong here. The IRQ was not used by the driver for the=20 functionality it provided before. It is required now to support the=20 touchscreen channels. -Paul >> >> + if (irq < 0) { >> > >> >> + dev_err(dev, "Failed to get irq: %d\n", irq); >> > >> > Redundant message. >> > >> >> + return irq; >> >> + } >=20 > -- > With Best Regards, > Andy Shevchenko