mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
media: mem2mem: Make .job_abort optional
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 implementations. Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
774f1c9127
commit
5525b83143
8 changed files with 4 additions and 37 deletions
|
|
@ -32,7 +32,7 @@
|
|||
* assumed that one source and one destination buffer are all
|
||||
* that is required for the driver to perform one full transaction.
|
||||
* This method may not sleep.
|
||||
* @job_abort: required. Informs the driver that it has to abort the currently
|
||||
* @job_abort: optional. Informs the driver that it has to abort the currently
|
||||
* running transaction as soon as possible (i.e. as soon as it can
|
||||
* stop the device safely; e.g. in the next interrupt handler),
|
||||
* even if the transaction would not have been finished by then.
|
||||
|
|
|
|||
Loading…
Reference in a new issue