Re: v4l2_ctrl_new_std_volatile()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, June 10, 2011 10:47:09 Sakari Ailus wrote:
> Hi Hans,
> 
> The v4l2_ctrl_new_std() doesn't allow setting the is_volatile bit in the
> bit field. The adp1653 driver needs that for the faults control.
> 
> Would you prefer just setting the bit in the driver, or, as Laurent
> suggested, a new v4l2_ctrl_new_std_volatile() function which would mark
> the control as volatile by itself?

Just set the bit in the driver.

If this will start happening a lot, then we can consider adding a special
function for this, but volatile controls are still pretty rare and I do
not think it warrants a special function just for that.

Regards,

         Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux