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=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 EEA55C46471 for ; Sun, 5 Aug 2018 22:08:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87B5A219A3 for ; Sun, 5 Aug 2018 22:08:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87B5A219A3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728340AbeHFAOi (ORCPT ); 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--