Re: [PATCH v15 03/32] v4l: async: fix unbind error in v4l2_async_notifier_unregister()

2017-10-09 Thread Hans Verkuil
On 04/10/17 23:50, Sakari Ailus wrote: > From: Niklas Söderlund > > The call to v4l2_async_cleanup() will set sd->asd to NULL so passing it to > notifier->unbind() have no effect and leaves the notifier confused. Call have -> has > the unbind() callback prior to cleaning up the subdevice to avo

Re: [PATCH v15 03/32] v4l: async: fix unbind error in v4l2_async_notifier_unregister()

2017-10-08 Thread Sebastian Reichel
Hi, On Thu, Oct 05, 2017 at 12:50:22AM +0300, Sakari Ailus wrote: > From: Niklas Söderlund > > The call to v4l2_async_cleanup() will set sd->asd to NULL so passing it to > notifier->unbind() have no effect and leaves the notifier confused. Call > the unbind() callback prior to cleaning up the su

[PATCH v15 03/32] v4l: async: fix unbind error in v4l2_async_notifier_unregister()

2017-10-04 Thread Sakari Ailus
From: Niklas Söderlund The call to v4l2_async_cleanup() will set sd->asd to NULL so passing it to notifier->unbind() have no effect and leaves the notifier confused. Call the unbind() callback prior to cleaning up the subdevice to avoid this. Signed-off-by: Niklas Söderlund Signed-off-by: Sakar