From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH v3 1/2] leds: core: Introduce generic pattern interface Date: Tue, 24 Jul 2018 13:50:29 +0200 Message-ID: <20180724115029.GB26036@amd> References: <20180714223907.GB2776@amd> <1138f834-e805-6076-bb5b-aa1fdc1f2606@gmail.com> <2c3a8911-150a-9b25-2a66-a9432047f96b@lechnology.com> <68996338-a902-2b57-0bb9-df274a496b06@gmail.com> <20180718075637.GA10279@amd> <913151e4-c19f-9a22-697c-52a9fb48cb32@gmail.com> <0e0cd8f7-dc73-6733-65f2-9a14506b0f0e@gmail.com> <20180718221717.GA5451@amd> <20180719202005.GA7763@amd> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Baolin Wang Cc: Jacek Anaszewski , David Lechner , Bjorn Andersson , Mark Brown , Linux LED Subsystem , LKML List-Id: linux-leds@vger.kernel.org --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Thanks for showing your thoughts. But I failed to compile your code, > would you like to send out formal patches (Or only including software > pattern, I will help to add hardware pattern part and do some testing > with our driver)? Thanks. Random thoughts: I am not sure "struct led_pattern" makes sense. Maybe array of integers would be enough? Should we have structure with whole array and length of the pattern? struct led_pattern { int len; struct led_pattern steps[]; } Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltXEoUACgkQMOfwapXb+vJevwCcDDL5WHbHc6p8n8hwo+Ez8mSM p48An3ZN6n7oYAPg/OVMhhySBVsYlUgR =Q6GI -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--