Re: [PATCHv17 08/34] v4l2-dev: lock req_queue_mutex

2018-08-14 Thread Mauro Carvalho Chehab
Em Tue, 14 Aug 2018 14:00:16 +0200 Hans Verkuil escreveu: > On 09/08/18 22:03, Mauro Carvalho Chehab wrote: > > Em Sat, 4 Aug 2018 14:45:00 +0200 > > Hans Verkuil escreveu: > > > >> From: Hans Verkuil > >> > >> We need to serialize streamon/off with queueing new requests. > >> These ioctls

Re: [PATCHv17 08/34] v4l2-dev: lock req_queue_mutex

2018-08-14 Thread Hans Verkuil
On 09/08/18 22:03, Mauro Carvalho Chehab wrote: > Em Sat, 4 Aug 2018 14:45:00 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> We need to serialize streamon/off with queueing new requests. >> These ioctls may trigger the cancellation of a streaming >> operation, and that should not

Re: [PATCHv17 08/34] v4l2-dev: lock req_queue_mutex

2018-08-14 Thread Mauro Carvalho Chehab
Em Fri, 10 Aug 2018 09:39:20 +0200 Hans Verkuil escreveu: > On 08/09/2018 10:03 PM, Mauro Carvalho Chehab wrote: > > Em Sat, 4 Aug 2018 14:45:00 +0200 > > Hans Verkuil escreveu: > > > >> From: Hans Verkuil > >> > >> We need to serialize streamon/off with queueing new requests. > >> These

Re: [PATCHv17 08/34] v4l2-dev: lock req_queue_mutex

2018-08-10 Thread Hans Verkuil
On 08/09/2018 10:03 PM, Mauro Carvalho Chehab wrote: > Em Sat, 4 Aug 2018 14:45:00 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> We need to serialize streamon/off with queueing new requests. >> These ioctls may trigger the cancellation of a streaming >> operation, and that

Re: [PATCHv17 08/34] v4l2-dev: lock req_queue_mutex

2018-08-09 Thread Mauro Carvalho Chehab
Em Sat, 4 Aug 2018 14:45:00 +0200 Hans Verkuil escreveu: > From: Hans Verkuil > > We need to serialize streamon/off with queueing new requests. > These ioctls may trigger the cancellation of a streaming > operation, and that should not be mixed with queuing a new > request at the same time. >

[PATCHv17 08/34] v4l2-dev: lock req_queue_mutex

2018-08-04 Thread Hans Verkuil
From: Hans Verkuil We need to serialize streamon/off with queueing new requests. These ioctls may trigger the cancellation of a streaming operation, and that should not be mixed with queuing a new request at the same time. Finally close() needs this lock since that too can trigger the