Re: [PATCH v7 11/18] v4l: async: Register sub-devices before calling bound callback

2017-09-08 Thread Pavel Machek
On Sun 2017-09-03 20:49:51, Sakari Ailus wrote: > Register the sub-device before calling the notifier's bound callback. > Doing this the other way around is problematic as the struct v4l2_device > has not assigned for the sub-device yet and may be required by the bound > callback. > > Signed-off-b

[PATCH v7 11/18] v4l: async: Register sub-devices before calling bound callback

2017-09-03 Thread Sakari Ailus
Register the sub-device before calling the notifier's bound callback. Doing this the other way around is problematic as the struct v4l2_device has not assigned for the sub-device yet and may be required by the bound callback. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-async.c |