diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-02-14 04:25:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-18 15:33:02 -0500 |
commit | 9dacde5ed0645a8db2dbfd0951c24b9eed87cc60 (patch) | |
tree | 569f76314aa885e1785fc26483ab3a518378fb6b /include/crypto/acompress.h | |
parent | ffaec3b21abcce537be166bd023f55986a5b2002 (diff) |
media: cedrus: Forbid setting new formats on busy queues
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 <paul.kocialkowski@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/crypto/acompress.h')
0 files changed, 0 insertions, 0 deletions