public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* S_CTRL must be called twice  to set volatile controls
@ 2015-04-29  7:33 Jacek Anaszewski
  2015-04-29  7:53 ` Hans Verkuil
  0 siblings, 1 reply; 5+ messages in thread
From: Jacek Anaszewski @ 2015-04-29  7:33 UTC (permalink / raw)
  To: linux-media; +Cc: Ricardo Ribalda Delgado, Hans Verkuil, Sakari Ailus

Hi,

After testing my v4l2-flash helpers patch [1] with the recent patches
for v4l2-ctrl.c ([2] and [3]) s_ctrl op isn't called despite setting
the value that should be aligned to the other step than default one.

This happens for V4L2_CID_FLASH_TORCH_INTENSITY control with
V4L2_CTRL_FLAG_VOLATILE flag.

The situation improves after setting V4L2_CTRL_FLAG_EXECUTE_ON_WRITE
flag for the control. Is this flag required now for volatile controls
to be writable?

[1] http://www.spinics.net/lists/linux-media/msg89004.html
[2] 45f014c5 [media] media/v4l2-ctrls: Always execute EXECUTE_ON_WRITE ctrls
[3] b08d8d26 [media] media/v4l2-ctrls: volatiles should not generate 
CH_VALUE
-- 
Best Regards,
Jacek Anaszewski

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-29 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29  7:33 S_CTRL must be called twice to set volatile controls Jacek Anaszewski
2015-04-29  7:53 ` Hans Verkuil
2015-04-29  8:58   ` Jacek Anaszewski
2015-04-29 12:01     ` Sakari Ailus
2015-04-29 12:37       ` Jacek Anaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox