From: Jacek Anaszewski <j.anaszewski@samsung.com>
To: Sakari Ailus <sakari.ailus@iki.fi>, cooloney@gmail.com
Cc: linux-leds@vger.kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
kyungmin.park@samsung.com, pavel@ucw.cz, rpurdie@rpsys.net,
s.nawrocki@samsung.com
Subject: Re: [PATCH/RFC v13 10/13] Documentation: leds: Add description of v4l2-flash sub-device
Date: Wed, 18 Mar 2015 15:36:05 +0100 [thread overview]
Message-ID: <55098D55.6050101@samsung.com> (raw)
In-Reply-To: <20150318123957.GH11954@valkosipuli.retiisi.org.uk>
Hi Sakari,
On 03/18/2015 01:39 PM, Sakari Ailus wrote:
> Hi Jacek,
>
> On Thu, Mar 12, 2015 at 04:45:11PM +0100, Jacek Anaszewski wrote:
>> This patch extends LED Flash class documention by
>> the description of interactions with v4l2-flash sub-device.
>>
>> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
>> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
>> Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
>> Cc: Bryan Wu <cooloney@gmail.com>
>> Cc: Richard Purdie <rpurdie@rpsys.net>
>> ---
>> Documentation/leds/leds-class-flash.txt | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
>>
>> diff --git a/Documentation/leds/leds-class-flash.txt b/Documentation/leds/leds-class-flash.txt
>> index 19bb673..8623413 100644
>> --- a/Documentation/leds/leds-class-flash.txt
>> +++ b/Documentation/leds/leds-class-flash.txt
>> @@ -20,3 +20,16 @@ Following sysfs attributes are exposed for controlling flash LED devices:
>> - max_flash_timeout
>> - flash_strobe
>> - flash_fault
>> +
>> +A LED subsystem driver can be controlled also from the level of VideoForLinux2
>> +subsystem. In order to enable this CONFIG_V4L2_FLASH_LED_CLASS symbol has to
>> +be defined in the kernel config. The driver must call the v4l2_flash_init
>> +function to get registered in the V4L2 subsystem. On remove the
>> +v4l2_flash_release function has to be called (see <media/v4l2-flash.h>).
>> +
>> +After proper initialization a V4L2 Flash sub-device is created. The sub-device
>> +exposes a number of V4L2 controls, which allow for controlling a LED Flash class
>
> Over 80 characters per line.
This line has exactly 80 characters, probably you checked the
length in the patch, which includes leading '+' character.
>
> With this fixed,
>
> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Probably I inadvertently changed the Acked-by email.
Bryan, please apply the patch with:
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
>
>> +device with use of its internal kernel API.
>> +Opening the V4L2 Flash sub-device makes the LED subsystem sysfs interface
>> +unavailable. The interface is re-enabled after the V4L2 Flash sub-device
>> +is closed.
>
--
Best Regards,
Jacek Anaszewski
next prev parent reply other threads:[~2015-03-18 14:36 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 15:45 [PATCH/RFC v13 00/13] LED / flash API integration Jacek Anaszewski
[not found] ` <1426175114-14876-1-git-send-email-j.anaszewski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-03-12 15:45 ` [PATCH/RFC v13 01/13] leds: flash: Fix the size of sysfs_groups array Jacek Anaszewski
2015-03-12 15:45 ` Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 02/13] dt-binding: leds: Add common LED DT bindings macros Jacek Anaszewski
2015-03-18 1:33 ` Bryan Wu
2015-03-12 15:45 ` [PATCH/RFC v13 03/13] leds: Add support for max77693 mfd flash cell Jacek Anaszewski
2015-03-23 11:56 ` Lee Jones
2015-03-23 12:07 ` Lee Jones
2015-03-12 15:45 ` [PATCH/RFC v13 04/13] DT: Add documentation for the mfd Maxim max77693 Jacek Anaszewski
2015-03-23 12:07 ` Lee Jones
2015-03-23 14:22 ` Pavel Machek
2015-03-23 15:02 ` Lee Jones
2015-03-23 15:48 ` Pavel Machek
2015-03-23 15:59 ` Lee Jones
2015-03-23 18:28 ` Sylwester Nawrocki
2015-04-02 14:50 ` Pavel Machek
2015-04-02 19:33 ` Lee Jones
2015-03-12 15:45 ` [PATCH/RFC v13 05/13] leds: Add driver for AAT1290 current regulator Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 06/13] of: Add Skyworks Solutions, Inc. vendor prefix Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 07/13] DT: Add documentation for the Skyworks AAT1290 Jacek Anaszewski
2015-03-18 10:28 ` Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 08/13] exynos4-is: Add support for v4l2-flash subdevs Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 09/13] media: Add registration helpers for V4L2 flash sub-devices Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 10/13] Documentation: leds: Add description of v4l2-flash sub-device Jacek Anaszewski
2015-03-18 12:39 ` Sakari Ailus
2015-03-18 14:36 ` Jacek Anaszewski [this message]
2015-03-12 15:45 ` [PATCH/RFC v13 11/13] DT: Add documentation for exynos4-is 'flashes' property Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 12/13] leds: max77693: add support for V4L2 Flash sub-device Jacek Anaszewski
2015-03-12 15:45 ` [PATCH/RFC v13 13/13] leds: aat1290: " Jacek Anaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55098D55.6050101@samsung.com \
--to=j.anaszewski@samsung.com \
--cc=cooloney@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rpurdie@rpsys.net \
--cc=s.nawrocki@samsung.com \
--cc=sakari.ailus@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.