Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1048780ybz; Fri, 17 Apr 2020 14:58:44 -0700 (PDT) X-Google-Smtp-Source: APiQypJT6LuXDmD0xHgTMbT2hf1+iKbiKIf3KIIy2zpmMgQ7d24e1+iZ9+y1fGr854f0cDYwUmm7 X-Received: by 2002:a05:6402:1d89:: with SMTP id dk9mr5058409edb.382.1587160724086; Fri, 17 Apr 2020 14:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587160724; cv=none; d=google.com; s=arc-20160816; b=bJ0UfzIqM/OlV799WIebqg/t1YwC569eNvtDlFknrR65EYme9Sv8lonpxjQEHfBc0v RiERAwjeTMZkAvq9KeGpVSqVMYpnCckUJiNLlnXFtrA/3XsVUdbObNk7TTFRyDll8kaB 1f9wkIHYVnukmH7UhABYmB6olhITVvgW0DgfJoqU9u8DeALIIL6HKmTMI+8Vtu9JNAyZ PAQ8HIdQCDasvXYbRkHeUqEkfodtSL4mLp06880CypwGGliNzh6OBFRXfcRtQcXj8f6G orC8JdKINtQ71Iy4dAHVpsjxm/CHDvN05pEhdzoaMvfzQI7WuxGuDURlPIOQpVzFXhQw FSgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=aaxgJAnoG5ukjwAgRDDBUrEuKKAGyFMzh6K7D0/zApY=; b=Q1DemMgp9WP5NhKb4DbeSQQXsV7NNdDzKsIyYr1OwFEO9YjulxGbZLLaNZh+25Qt+4 6LNVa8TjB+75DFGBKtEK1EXbEjdXjVbl9/UYgz3mVAczlfl1kkYsPRquPbipXCp0tDha C3rcAy7zLAZ5Pk/BrS2l5IUFUZEz8QHW1b6cpLz9pEdQk14csUDJkIicbT1lhyOGUBZ+ h4Bq1oIYKlbsIjsUYpIC6LnI2y06ZiR+ACtMKlSXj+Ckf3ezB8e9H/wLFm9icKW9JwR0 eZZYssBqebseAUL/aqDH0gEJOPkPUh2W4HB3HK6nFx7G1Kn0a6CLkv4miaD/pyw4d9g8 vF1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=ce83J6ce; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si333538edb.590.2020.04.17.14.58.21; Fri, 17 Apr 2020 14:58:44 -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=fail header.i=@crapouillou.net header.s=mail header.b=ce83J6ce; 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728659AbgDQV4S (ORCPT + 99 others); Fri, 17 Apr 2020 17:56:18 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:34438 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728202AbgDQV4R (ORCPT ); Fri, 17 Apr 2020 17:56:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1587160574; 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=aaxgJAnoG5ukjwAgRDDBUrEuKKAGyFMzh6K7D0/zApY=; b=ce83J6ceG6K8yfeaAwYEXJ4m//pzNDoVIIZQCvxo11x56yav1WOqJpSwJBkl8QcOiQOT4S QH0R/ICF8xfe9S8plTB2eQ6sDYa3p+mXZoCh1iHthVPjQoCVIpSUdmcT95iTczSSjzWASr 6jKFag5fRYobIXS3beGzhyX7F+Znhqk= Date: Fri, 17 Apr 2020 23:56:01 +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: In-Reply-To: References: <20200417202859.35427-1-contact@artur-rojek.eu> <20200417202859.35427-3-contact@artur-rojek.eu> <3KAY8Q.NNI6X4F9QRIX1@crapouillou.net> <86BY8Q.C5XO8D57M7BI1@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:52, Andy Shevchenko=20 a =E9crit : > On Sat, Apr 18, 2020 at 12:45 AM Paul Cercueil =20 > wrote: >> Le sam. 18 avril 2020 =E0 0:42, Andy Shevchenko >> a =E9crit : >> > On Sat, Apr 18, 2020 at 12:18 AM Paul Cercueil=20 >> >> > wrote: >> >> Le sam. 18 avril 2020 =E0 0:13, Andy Shevchenko >> >> a =E9crit : >> >> > On Sat, Apr 18, 2020 at 12:05 AM Paul Cercueil >> >> >> >> > wrote: >> >> >> Le ven. 17 avril 2020 =E0 23:59, Andy Shevchenko >> >> >> a =E9crit : >> >> >> > On Fri, Apr 17, 2020 at 11:21 PM Artur Rojek >> >> >> >> >> >> > wrote: >> >> > >> >> > ... >> >> > >> >> >> >> + irq =3D platform_get_irq(pdev, 0); >> >> >> > >> >> >> > Before it worked w/o IRQ, here is a regression you=20 >> introduced. >> >> >> >> >> >> Before it simply did not need the IRQ, which is provided by=20 >> the >> >> >> devicetree anyway. No regression here. >> >> > >> >> > Does it work without IRQ? Or it was a dead code till now? >> >> > For me it's clear regression. Otherwise something is really=20 >> wrong >> >> in a >> >> > process of development of this driver. >> >> >> >> Nothing wrong here. The IRQ was not used by the driver for the >> >> functionality it provided before. It is required now to support=20 >> the >> >> touchscreen channels. >> > >> > This is exactly what's wrong. >> > Previous DTS for my (hypothetical) case has no IRQ defined.=20 >> Everything >> > works, right? >> > Now, due to this change it breaks my setup. Don't you see the=20 >> problem? >>=20 >> The IRQ has been provided by every concerned DTS file since the >> introduction of this driver and the related bindings, even though it >> was not used by the driver. >=20 > Can you speak for all possible DTSs/DTBs in the wild? > Okay, in any case it will be problem of maintainers and yours if > somebody complains. I can, since I wrote all of them. -Paul > I'm not going to push this anyway -- your choice. >=20 > But I see a (potential) regression. >=20 >> >> >> >> + if (irq < 0) { >> >> >> > >> >> >> >> + dev_err(dev, "Failed to get irq: %d\n", >> >> irq); >> >> >> > >> >> >> > Redundant message. >> >> >> > >> >> >> >> + return irq; >> >> >> >> + } >=20 > -- > With Best Regards, > Andy Shevchenko