Re: [PATCH] videobuf2-core: avoid buffer operations while in stop_streaming

2019-08-16 Thread Mauro Carvalho Chehab
Em Thu, 15 Aug 2019 14:28:02 +0200 Hans Verkuil escreveu: > The stop_streaming callback is called with the queue lock held. > > But some drivers (vivid being one of them) need to stop a kernel thread > in stop_streaming, and if that kernel thread takes the same queue lock, > then stop_streaming

Re: [PATCH] videobuf2-core: avoid buffer operations while in stop_streaming

2019-08-16 Thread Hans Verkuil
On 8/15/19 2:28 PM, Hans Verkuil wrote: > The stop_streaming callback is called with the queue lock held. > > But some drivers (vivid being one of them) need to stop a kernel thread > in stop_streaming, and if that kernel thread takes the same queue lock, > then stop_streaming may have to unlock t