Re: [PATCHv4 09/10] media-request: EPERM -> EACCES/EBUSY

2018-09-04 Thread Hans Verkuil
On 09/04/18 10:21, Tomasz Figa wrote: > On Tue, Sep 4, 2018 at 4:59 PM Hans Verkuil wrote: >> >> From: Hans Verkuil >> >> If requests are not supported by the driver, then return EACCES, not >> EPERM. >> >> If you attempt to mix queueing buffers directly and using requests, >> then EBUSY is

Re: [PATCHv4 09/10] media-request: EPERM -> EACCES/EBUSY

2018-09-04 Thread Tomasz Figa
On Tue, Sep 4, 2018 at 4:59 PM Hans Verkuil wrote: > > From: Hans Verkuil > > If requests are not supported by the driver, then return EACCES, not > EPERM. > > If you attempt to mix queueing buffers directly and using requests, > then EBUSY is returned instead of EPERM: once a specific queueing

[PATCHv4 09/10] media-request: EPERM -> EACCES/EBUSY

2018-09-04 Thread Hans Verkuil
From: Hans Verkuil If requests are not supported by the driver, then return EACCES, not EPERM. If you attempt to mix queueing buffers directly and using requests, then EBUSY is returned instead of EPERM: once a specific queueing mode has been chosen the queue is 'busy' if you attempt the other