Re: [PATCH v7 10/18] v4l: async: Introduce macros for calling async ops callbacks

2017-09-04 Thread Sakari Ailus
Hi Hans, On Mon, Sep 04, 2017 at 03:50:52PM +0200, Hans Verkuil wrote: > On 09/03/2017 07:49 PM, Sakari Ailus wrote: > > Add two macros to call async operations callbacks. Besides simplifying > > callbacks, this allows async notifiers to have no ops set, i.e. it can be > > left NULL. > > > > Sign

Re: [PATCH v7 10/18] v4l: async: Introduce macros for calling async ops callbacks

2017-09-04 Thread Hans Verkuil
On 09/03/2017 07:49 PM, Sakari Ailus wrote: > Add two macros to call async operations callbacks. Besides simplifying > callbacks, this allows async notifiers to have no ops set, i.e. it can be > left NULL. > > Signed-off-by: Sakari Ailus > --- > drivers/media/v4l2-core/v4l2-async.c | 19 +++-

[PATCH v7 10/18] v4l: async: Introduce macros for calling async ops callbacks

2017-09-03 Thread Sakari Ailus
Add two macros to call async operations callbacks. Besides simplifying callbacks, this allows async notifiers to have no ops set, i.e. it can be left NULL. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-async.c | 19 +++ include/media/v4l2-async.h | 8 +++