Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp704341pxj; Fri, 28 May 2021 13:35:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+fu+GipzRO5BN+axfyZwLojgsBUqhZImdSZfD2VSk45GX0g90nqDCmvpgM3niH2qA+stu X-Received: by 2002:a05:6e02:130e:: with SMTP id g14mr8545566ilr.74.1622234113922; Fri, 28 May 2021 13:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622234113; cv=none; d=google.com; s=arc-20160816; b=PQesci4N5S4BgskcV6DkeuAkrP68k3bUJzMx73B9VMPWiZ174uxq2usR21qQHpEOKN 14enXowlOSYqMjDLtQi8aOx+guP2duKF59vxu4EwEsYgSkGo1EpUFTAg8WfugTJsa+Au KRalp/eml0LbsK3l80HEIFVbXVMZ4jFbE/hP0xrOK62fzLmg04uzd4qaE5dNYs8MxyG/ wnfJtei4byHY/aZHHowykiHytMOdsy6xtxNzTvo6l1Jqb1vJCsdZitlVh5eOuJ6R6S4R oWKXj6n+IPLqaV8oBrpPxshrpK9H+HrprKZx+VSCZYr3oxW1x2exPCEMcL4vhQVCueEY ckkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=HFQFsfYlcaHdAkdrzLrRcqod51sEdR7a9YGWKTSr7bQ=; b=RI0kr4pQweJvPQi2LUnQh/lPBQyS37kceaMYX578IUArtFVq3SANV0WXxn90GfFkbV JdHVtas6BaTMymqChgKFxx5QzheygaTGaRv04n99y2h8KNQmQgbKg1jSI+1OBt40rPOc BB5wUGj3iKexT8KeD0oOvE7X1qMG4mqYixWgresPorHbtqyxeJaR23xkuESompmT7cMq vYLYtdzggLTaIFtiQuhvuvl4x6/XKaR9qejf5GsBy8nE5KRqf+YBUqDiiVJ2yIQzVeLD fSwMC4nYvPfsX5ZITAYzN4K4zu8a7+YNDRGcy19MVVSimSBNfMzVqK7PoWqdPpKQJx8R cv+g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f6si6469313iow.74.2021.05.28.13.34.58; Fri, 28 May 2021 13:35:13 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229522AbhE1Ufr (ORCPT + 99 others); Fri, 28 May 2021 16:35:47 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:55400 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbhE1Ufq (ORCPT ); Fri, 28 May 2021 16:35:46 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A0DEC1C0B76; Fri, 28 May 2021 22:34:10 +0200 (CEST) Date: Fri, 28 May 2021 22:34:10 +0200 From: Pavel Machek To: Andy Shevchenko Cc: Amireddy Mallikarjuna reddy , Linus Walleij , Marek =?iso-8859-1?Q?Beh=FAn?= , Abanoub Sameh , Dan Murphy , Krzysztof Kozlowski , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 00/28] leds: cleanups and fwnode refcounting bug fixes Message-ID: <20210528203410.GA26380@duo.ucw.cz> References: <20210510095045.3299382-1-andy.shevchenko@gmail.com> <20210528100254.GC2209@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > First two patches are taking care of -ENOTSUPP error code too prev= ent its > > > > appearance in the user space. > > >=20 > > > Pavel, any comments on this bug fix series? > >=20 > > I took these: >=20 > Thanks! >=20 > What branch/tree should I rebase the rest on? git@gitolite.kernel.org:pub/scm/linux/kernel/git/pavel/linux-leds.git for-next would do the trick. As would linux-next, I guess. This area should not be changing. > > For the "remove depends on OF"... I'd preffer not to take those. We > > don't need to ask the user for configurations that never happen. >=20 > What do you mean by this? ACPI is quite a good configuration to make use > of it on the corresponding platforms. By default any discrete LED driver > (in hardware term here) IC should be considered independent from the type > of the platform description. Do you agree? If so, it means that The drivers are independend, I guess. But I'm also very sure you will not find some of the chips in a ACPI based machine. el15203000 is such example. I don't want people configuring for normal PCs to be asked if they want el15203000 support. If you know particular chip is present in ACPI-based machine, I'm okay with removing the dependency. (Maybe some of these chould depend on ARM || COMPILE_TEST instead?) > > dropping > OF dependency is a right thing to do to allow users of those ICs to be ha= ppy > even on ACPI based platforms. >=20 > Note, entire IIO subsystem is a good example of this activity. All the se= nsors > can be used now in ACPI environment without explicit requirement to have = an > ACPI ID, although it's highly recommended to acquire for the real products > (not DIY ones). Well. I'm not sure that is good step forward. It will result in useless questions being asked. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYLFTwgAKCRAw5/Bqldv6 8qb/AJwK0UBop9hyWUWbFSYgRbrmkir5UACfdJMsSYMYKj0U/lXMkVXNgjiDraU= =6L+m -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--