[linux-sunxi] Re: [PATCH] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Hans Verkuil
On 2/14/19 10:18 AM, Paul Kocialkowski wrote: > Hi, > > On Thu, 2019-02-14 at 09:59 +0100, Hans Verkuil wrote: >> On 2/14/19 9:37 AM, Paul Kocialkowski wrote: >>> Check that our queues are not busy before setting the format or return >>> EBUSY if that's the case. This ensures that our format

[linux-sunxi] Re: [PATCH] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Paul Kocialkowski
Hi, On Thu, 2019-02-14 at 09:59 +0100, Hans Verkuil wrote: > On 2/14/19 9:37 AM, Paul Kocialkowski wrote: > > Check that our queues are not busy before setting the format or return > > EBUSY if that's the case. This ensures that our format can't change > > once buffers are allocated for the

[linux-sunxi] Re: [PATCH] media: cedrus: Forbid setting new formats on busy queues

2019-02-14 Thread Hans Verkuil
On 2/14/19 9:37 AM, Paul Kocialkowski wrote: > Check that our queues are not busy before setting the format or return > EBUSY if that's the case. This ensures that our format can't change > once buffers are allocated for the queue. > > Signed-off-by: Paul Kocialkowski > --- >