Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp643125ybh; Sun, 12 Jul 2020 18:57:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ32cO/Y4LNr+va9K2IL91fMNIY5mkvL4OgQIXXOJRsjtTJ7eGY7ihjgH4ACOpJdjF7vuh X-Received: by 2002:a17:906:fa15:: with SMTP id lo21mr74638479ejb.156.1594605426265; Sun, 12 Jul 2020 18:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594605426; cv=none; d=google.com; s=arc-20160816; b=eS5qD24wOMp58+sVaCyZM9YhGNGwHCzKNvWRPYP4bLA5dVcSVWFv89mLYNGJ898tXD 0Rxqt4ucUks8cozqJzzA+MGq6aYWOPXBN2ZPGN19MmsY4ffVCILvI4cqLKqlT1WUZFaj M+k5CkZ0G3kbn2rxVzM00IF45TJu+8GEpqPKKVTBqoccKxw0sosvWxMqlfMsLGRpyqRT JM5yeQg6wUKPRM7aJEXbA+l28HzG2BloxtcGxfKFBeNeinloJWawL78bzN0C6c3EpkEA qWCSIWW1wgPWGGJDc1u7ENUld9TwlSDXcCdHMViwRs+SQ+m+Eahti0Sgiu1tzRCFZfSN Jjqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=Qn5shAb3ihtUUg+CHWjMpnXP83o1qVcIW34k/BYxs9I=; b=dn5Yea/PB+121RYqrkrAX7XBeIO92X32D/JnbjS50L00tYf5t2e4uXAwM4BH0caqOe xMaBOYKch9XWcqOz8e4bsBX6Xu5sSrWr4geF0wBSsuinyfyo0PDBbwHVLH1wPmYoUgyT jvgY5hOSt/zziCTABL9U8eDvcFDLp3oPwrU40XQHJtMOQ/7rzZWydJGvnZ5dNNxLICGf a6FBztMrGzrBW5FhNtU7cvwxnIBGomSbdZA2TvBmw4ji0H35bBaGcQonALqY+S5zeyfP BiBdLWvFudE6+xvxcFe+qvy5CoUDsrMt4wxGWGxK4TqcyJ1V7k+ytQGZz1XvnPOk3CVu wErg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=cy5PcgTQ; 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=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ec22si8360947ejb.23.2020.07.12.18.56.43; Sun, 12 Jul 2020 18:57:06 -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=@megous.com header.s=mail header.b=cy5PcgTQ; 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=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728282AbgGMB4Q (ORCPT + 99 others); Sun, 12 Jul 2020 21:56:16 -0400 Received: from vps.xff.cz ([195.181.215.36]:34152 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726261AbgGMB4Q (ORCPT ); Sun, 12 Jul 2020 21:56:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1594605374; bh=gdZ3L0fVux68kDxio9119EDiHzxmA4TjQjhbhQ4czvE=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=cy5PcgTQu8i9lsZhTxxDX+7Yv+rsSYFKlkTIirreGfpV9uAyTkhiiIkolj7GXzsX3 jHkLjZ0dIFAa6PkPG7qz1ARepmtzP5oq1OMMh+rRNax93tVC4ZSVPdl1nkUKXNX4Si XqwzwGfdBhhgi2ZNPWU5HqbStXj6Zl63leIr3hEc= Date: Mon, 13 Jul 2020 03:56:13 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Pavel Machek Cc: linux-kernel@vger.kernel.org, Jacek Anaszewski , Dan Murphy , "open list:LED SUBSYSTEM" , marek.behun@nic.cz Subject: Re: [PATCH RFC] leds: Add support for per-LED device triggers Message-ID: <20200713015613.tr6l5svn6ddkktbo@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Pavel Machek , linux-kernel@vger.kernel.org, Jacek Anaszewski , Dan Murphy , "open list:LED SUBSYSTEM" , marek.behun@nic.cz References: <20200702144712.1994685-1-megous@megous.com> <20200711100409.GA18901@amd> <20200711210111.5ysijhexgyzyr7u7@core.my.home> <20200712072554.GC4721@duo.ucw.cz> <20200712134911.r3lig4hgyqhmslth@core.my.home> <20200712191111.GA20592@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200712191111.GA20592@amd> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Pavel, On Sun, Jul 12, 2020 at 09:11:11PM +0200, Pavel Machek wrote: > > > So.. 48 triggers on Marek's systems means I'll not apply your patch. > > > > > > Please take a look at my version, it is as simple and avoids that > > > problem. > > > > I would, but I don't see your version linked or mentioned in this > > thread. > > Ah! Sorry about that. Here it is. (I verified it compiles in the > meantime). I tried implementing a driver using this API: https://megous.com/git/linux/commit/?h=tbs-a711-5.8&id=adda29f57685155ac35bd810b51befbfb266da48 and it works pretty nicely for me. thank you and regards, o.