Re: [PATCH/RFC v10 01/19] leds: Add LED Flash class extension to the LED subsystem

From: Bryan Wu
Date: Mon Jan 26 2015 - 18:02:31 EST


On Fri, Jan 9, 2015 at 9:37 AM, Pavel Machek <pavel@xxxxxx> wrote:
> On Fri 2015-01-09 16:22:51, Jacek Anaszewski wrote:
>> Some LED devices support two operation modes - torch and flash.
>> This patch provides support for flash LED devices in the LED subsystem
>> by introducing new sysfs attributes and kernel internal interface.
>> The attributes being introduced are: flash_brightness, flash_strobe,
>> flash_timeout, max_flash_timeout, max_flash_brightness, flash_fault,
>> flash_sync_strobe and available_sync_leds. All the flash related
>> features are placed in a separate module.
>>
>> The modifications aim to be compatible with V4L2 framework requirements
>> related to the flash devices management. The design assumes that V4L2
>> sub-device can take of the LED class device control and communicate
>> with it through the kernel internal interface. When V4L2 Flash sub-device
>> file is opened, the LED class device sysfs interface is made
>> unavailable.
>>
>> Signed-off-by: Jacek Anaszewski <j.anaszewski@xxxxxxxxxxx>
>> Acked-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
>> Cc: Bryan Wu <cooloney@xxxxxxxxx>
>> Cc: Richard Purdie <rpurdie@xxxxxxxxx>
>
> Acked-by: Pavel Machek <pavel@xxxxxx>
>

Applied to my tree. Thanks for pushing this.

-Bryan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/