[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <5739D9E9.6060801@samsung.com>
Date: Mon, 16 May 2016 16:32:09 +0200
From: Jacek Anaszewski <j.anaszewski@...sung.com>
To: Tony Makkiel <tony.makkiel@...ri.com>
Cc: Linux LED Subsystem <linux-leds@...r.kernel.org>,
Stas Sergeev <stsp@...rs.sourceforge.net>,
Pavel Machek <pavel@....cz>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: Brightness control irrespective of blink state.
On 05/16/2016 04:23 PM, Jacek Anaszewski wrote:
> On 05/16/2016 03:43 PM, Tony Makkiel wrote:
if (led_cdev->flags & LED_BLINK_SW) .
>>>
>>> LED_BLINK_SW flag would have to be cleared in led_stop_software_blink()
>>> and in the first two conditions in the led_timer_function().
>>>
>>
>> Yes, that will do with minimal changes. I tested the following, and
>> works.
>
> Fine, so could you please submit the patch officially?
> Before that, please rebase your code on top of LED tree or linux-next
> and change LED_BLINKING_SW to LED_BLINK_SW, to keep the same prefix for
> each blinking related definition.
Also please put it before LED_BLINK_ONESHOT.
--
Best regards,
Jacek Anaszewski
Powered by blists - more mailing lists