Re: [PATCH] V4L: async: Make sure subdevs are stored in a list before being moved

2013-08-09 Thread Laurent Pinchart
Hi Sylwester, On Thursday 08 August 2013 17:51:46 Sylwester Nawrocki wrote: On 08/07/2013 12:41 PM, Laurent Pinchart wrote: Subdevices have an async_list field used to store them in the global list of subdevices or in the notifier done lists. List entries are moved from the former to the

Re: [PATCH] V4L: async: Make sure subdevs are stored in a list before being moved

2013-08-08 Thread Sylwester Nawrocki
Hi Laurent, On 08/07/2013 12:41 PM, Laurent Pinchart wrote: Subdevices have an async_list field used to store them in the global list of subdevices or in the notifier done lists. List entries are moved from the former to the latter in v4l2_async_test_notify() using list_move(). However,

[PATCH] V4L: async: Make sure subdevs are stored in a list before being moved

2013-08-07 Thread Laurent Pinchart
Subdevices have an async_list field used to store them in the global list of subdevices or in the notifier done lists. List entries are moved from the former to the latter in v4l2_async_test_notify() using list_move(). However, v4l2_async_test_notify() can be called right away when the subdev is