[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMz4kuLLf84ZnxEVowCFnj9NGGU8zD39A-Oeqr+cbFSuBc1xOw@mail.gmail.com>
Date: Fri, 27 Jul 2018 16:41:15 +0800
From: Baolin Wang <baolin.wang@...aro.org>
To: Pavel Machek <pavel@....cz>
Cc: Jacek Anaszewski <jacek.anaszewski@...il.com>,
David Lechner <david@...hnology.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Mark Brown <broonie@...nel.org>,
Linux LED Subsystem <linux-leds@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/2] leds: core: Introduce generic pattern interface
Hi Pavel,
On 27 July 2018 at 16:36, Pavel Machek <pavel@....cz> wrote:
> Hi!
>
>> > This should be a bit better. I attempted to compile it with your
>> > driver, but whether it works is an open question.
>>
>> Sorry for late reply. I've compiled and tested this version on my
>> platform, the hardware pattern can work with one small fix as below.
>>
>> if (led_cdev->pattern_set && !led_cdev->pattern_set(led_cdev,
>> data->steps, data->nsteps)) {
>> return;
>> }
>>
>> But I saw there are lots coding style issues and something can be
>> improved in this patch, so will you send out one clean patch (I will
>> help to test the hardware pattern support)? Or I can help to improve
>> this code and try to upstream it again?
>
> If you could do the upstreaming, that would be great.
OK, I will improve the code and test the software/hardware pattern,
and upstream it again with keeping the original authorization.
> I tried to get hardware accelerated LED to work on N900, but that
> hardware is rather complex, so it would take me some time...
--
Baolin Wang
Best Regards
Powered by blists - more mailing lists