Re: setting volatile v4l2-control

2015-01-27 Thread Hans Verkuil
On 01/27/15 14:32, Jacek Anaszewski wrote: While testing the LED / flash API integration patches I noticed that the v4l2-controls marked as volatile with V4L2_CTRL_FLAG_VOLATILE flag behave differently than I would expect. Let's consider following use case: There is a volatile

Re: setting volatile v4l2-control

2015-01-27 Thread Jacek Anaszewski
On 01/27/2015 03:14 PM, Hans Verkuil wrote: On 01/27/15 14:32, Jacek Anaszewski wrote: While testing the LED / flash API integration patches I noticed that the v4l2-controls marked as volatile with V4L2_CTRL_FLAG_VOLATILE flag behave differently than I would expect. Let's consider following

setting volatile v4l2-control

2015-01-27 Thread Jacek Anaszewski
While testing the LED / flash API integration patches I noticed that the v4l2-controls marked as volatile with V4L2_CTRL_FLAG_VOLATILE flag behave differently than I would expect. Let's consider following use case: There is a volatile V4L2_CID_FLASH_INTENSITY v4l2 control with following