Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2896077imm; Sun, 5 Aug 2018 15:10:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcNe1XBvBtP9tiVgUOzXRcJMDp9oxzsenSn4sBFk4Rb+0LnzZwStQjMVIWnS0hrexUaxD7T X-Received: by 2002:a63:3246:: with SMTP id y67-v6mr11933030pgy.399.1533507030552; Sun, 05 Aug 2018 15:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533507030; cv=none; d=google.com; s=arc-20160816; b=OHffYsrUTb7phKLHt6WfpKrHqpGdLhs6uW8s6bRILxL9/vwzacQUVFMXY/Xvjj87Xn 9w5Xw3+vthS/FzqWPxxzKn72GfUUdjd0oKUjRHTi530asyI7Fw4IcA25juYiBMLLuVA5 Q+kVt+ik3S6iTKLaboiCdNab3WX0WCRus1nBIxf4mpEAVuCo6PTdjOzgXmhqOk2RZwbd u7Wp8v3qN1DyJz9LjkysD9YsftmFI9MwWkvAuo2BsPQeSrXFCSjwmhTnJTaQAPGu7A+A 3u7qbrLxoLd7y2cSr5m79uKE5/4u2C9igakdOGNq3OgWOyv2TM0kRa1V5ikJn4V/vQPj DY3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=F7Tta1jrmmG2B3h2kvu1natyEg7aDyTQAXz12m+I31A=; b=fG4MwlxDBeQz6OfyMmoiChldWCWXzLkjabA4ezj8GAi1soAWXpLG30b/NnA9dIBopC PMXLfwjGzfLLp2BlEXHQr6G7jNCLfGyubFHFB0gtPiP+2MRPW711JlwdcAgRs/P2oQpI css91HAgvqNLwNW822+iI+JrdpAxYUFRozVeOjFziUh7J4+VceApMLHVVHlpJo8DWENQ fv2Uti6YcDi8LTug/JBZ7rsdSfzJeOif0LlxSF9QyvXelnaJO0iRk2XiWoPOiAbDYFrT zrcbEgRAiufAOTPAySO0SvrtprKvKD7bYAjwaEa94V2Qz+kHH+UGWd7/20O4mDrEOoRO CBlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2-v6si11610946pgg.83.2018.08.05.15.10.03; Sun, 05 Aug 2018 15:10:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728160AbeHFAOi (ORCPT + 99 others); Sun, 5 Aug 2018 20:14:38 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:43494 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727434AbeHFAOi (ORCPT ); Sun, 5 Aug 2018 20:14:38 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id B0AC780623; Mon, 6 Aug 2018 00:08:30 +0200 (CEST) Date: Mon, 6 Aug 2018 00:08:30 +0200 From: Pavel Machek To: Jacek Anaszewski Cc: Baolin Wang , rteysseyre@gmail.com, bjorn.andersson@linaro.org, broonie@kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/2] leds: core: Introduce LED pattern trigger Message-ID: <20180805220829.GA3338@amd> References: <3d7e8701-d92b-9f51-befa-a585b5957488@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <3d7e8701-d92b-9f51-befa-a585b5957488@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > +What: /sys/class/leds//repeat > > +Date: August 2018 > > +KernelVersion: 4.19 > > +Description: > > + Specify a pattern repeat number. 0 means repeat indefinitely. >=20 > In current implementation this file on read returns the number > of remaining repeat intervals. I'd add that to this description. Lets not do this. LEDs such as the one on N900 can do repeats automatically, in hardware. But in such case we may not be able to determine how many repetitions were done (and how many are left). Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltndV0ACgkQMOfwapXb+vKzkQCgpivTz+sNMA2LXevhna5JlCWA QUYAoJJ+ONpBXokwoeo+1XJzUSlEK5Lf =MqU9 -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--