Re: [PATCH v8 12/21] v4l: async: Introduce helpers for calling async ops callbacks

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

 



On Wed, Sep 06, 2017 at 09:50:36AM +0200, Hans Verkuil wrote:
> On 09/05/2017 03:05 PM, Sakari Ailus wrote:
> > Add three helper functions to call async operations callbacks. Besides
> > simplifying callbacks, this allows async notifiers to have no ops set,
> > i.e. it can be left NULL.
> 
> What is the use-case of that?

Going forward, the sub-notifiers that are just for binding associated
devices (later in the patchset, 17th and 18th patches) there is no need for
callbacks. This allows having no ops either.

> 
> Anyway:
> 
> Acked-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>

Thanks!

-- 
Sakari Ailus
e-mail: sakari.ailus@xxxxxx



[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