Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1908imm; Thu, 27 Sep 2018 14:48:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV634LjDysJXqqp2qozSA2ZT5myl1z/PW1T9NzuxFk9gubi5uVpB7jxJAoNz7Z6tVhsq2hEvZ X-Received: by 2002:a62:5343:: with SMTP id h64-v6mr13428314pfb.226.1538084899305; Thu, 27 Sep 2018 14:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538084899; cv=none; d=google.com; s=arc-20160816; b=np9qn8VC5ifDgFiFPrVeg6ELMtlh3BRZBtR+kcZhmCTXWEKefHiVmjetEX8jnoX/vA kw2rCXf8UCCnpw5q7MD1mYhVjwVY8GwfEhpHHgTlxVEm8ymlu5NTudAtUh8+mdcxJ647 S8sHIYnVZkRuWFmLDUGWsWhFnFs4/5MxLicwZmfIs2A3sKPMwdvlTyRPWsYtPUajFzMG h/LboY6wfnw5zDpmf9x6bfGZNAruBt+w6HATLoQbbC/Kn38YIUr8qcvko7OmHNQAOpn0 bKmfF5pXsmDNzdknev1chIgoMycD8Jxz/yo39SB/VyRLB8/pYQETs7FDevsGIL/Pmx6Y lTAg== 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; bh=k02H8brdzTE+17+18Ugk8gakMcV9zXso07G5xsVGkqU=; b=h8gyaa3UInGU/Sw4j+ij7j+fNH2TaCOXq1sb5jOA5airnj/RW7gwm7aFRiNZRqHDQI WvRefcjnYkN/QXl/cf0OMYFArYtakgszQR+ESA1YUTfEqmp6SxxY+otQKJRXB+C0z6bz hilitO8fD7/5+I2qN3FFSC7k9Rza80iOlfhGrrcotmtPiMc06LJCpyURcrWvYbk7bxBS 8jzwMTUD4GuJAeCT3qfJswfKgv8XTEF2TPRrwloEh/W4auhePyOFC9a6pwns+CxxjtDW JWDME64BIFFl644KjU3PZZZaEqhxIiDVfkjHxnKeUS+G9k3UX02qSHFS6iQ87HXGdAny 2ZCA== 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 r62-v6si3104912pfd.37.2018.09.27.14.48.03; Thu, 27 Sep 2018 14:48:19 -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 S1727671AbeI1EHb (ORCPT + 99 others); Fri, 28 Sep 2018 00:07:31 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60392 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbeI1EHa (ORCPT ); Fri, 28 Sep 2018 00:07:30 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id AE9B58073A; Thu, 27 Sep 2018 23:47:08 +0200 (CEST) Date: Thu, 27 Sep 2018 23:47:05 +0200 From: Pavel Machek To: Baolin Wang Cc: Jacek Anaszewski , Bjorn Andersson , rteysseyre@gmail.com, Mark Brown , Linus Walleij , Linux LED Subsystem , LKML Subject: Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger Message-ID: <20180927214705.GB17346@amd> References: <324778a9-a32c-ae6e-337a-39845f214bfc@gmail.com> <20180921211758.GC18062@amd> <20180921221813.GA20355@amd> <20180922194451.GA27826@amd> <470f4037-b682-73f8-8063-b4d7a70e04bc@gmail.com> <9188b107-92da-11aa-9903-848e3f347f8c@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: 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 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Actually you have it also: > > "Duration of 0 means brightness should immediately change to new value" > > > > According to this, to get instant changes your pattern should look > > like this: > > > > echo "0 100 0 0 20 100 20 0 40 100 40 0 80 100 80 0 100 100" > pattern >=20 > Make sense. Thanks for your explanation. Thanks for all the work and sorry for all the confusion! Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlutT9kACgkQMOfwapXb+vLbTQCeILW0TTKQKVhafEafhYvgJwyx +1oAn1nZD8b2b/0KWcvEmSKo2Lm3vV/o =sFvr -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--