Re: [PATCH 2/3] mem2mem: Make .job_abort optional

2018-06-15 Thread Ezequiel Garcia
On Fri, 2018-06-15 at 10:43 +0200, Hans Verkuil wrote: > On 14/06/18 17:34, Ezequiel Garcia wrote: > > Implementing job_abort() does not make sense on some drivers. > > This is not a problem, as the abort is not required to > > wait for the job to finish. Quite the opposite, drivers > > are encoura

Re: [PATCH 2/3] mem2mem: Make .job_abort optional

2018-06-15 Thread Hans Verkuil
On 14/06/18 17:34, Ezequiel Garcia wrote: > Implementing job_abort() does not make sense on some drivers. > This is not a problem, as the abort is not required to > wait for the job to finish. Quite the opposite, drivers > are encouraged not to wait. > > Demote v4l2_m2m_ops.job_abort from required

[PATCH 2/3] mem2mem: Make .job_abort optional

2018-06-14 Thread Ezequiel Garcia
Implementing job_abort() does not make sense on some drivers. This is not a problem, as the abort is not required to wait for the job to finish. Quite the opposite, drivers are encouraged not to wait. Demote v4l2_m2m_ops.job_abort from required to optional, and clean all drivers with dummy or wron