]> git.baikalelectronics.ru Git - kernel.git/commit
media: venus: venc,vdec: Return EBUSY on S_FMT while streaming
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Sat, 18 Apr 2020 09:06:22 +0000 (11:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 5 May 2020 11:07:47 +0000 (13:07 +0200)
commit59ad89c1efcb81678edf462c93dea17e4936aaf7
treee934cbca4dd3e637c833507723a3838a8912d360
parentc6ac136a84993d6c5e6ed3c7ea647f5bf06a1378
media: venus: venc,vdec: Return EBUSY on S_FMT while streaming

According to the v4l spec s_fmt must return EBUSY while the
particular queue is streaming. Add such check in encoder and
decoder s_fmt methods.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/vdec.c
drivers/media/platform/qcom/venus/venc.c