]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: amphion: ensure the buffer count is not less than min_buffer
authorMing Qian <ming.qian@nxp.com>
Tue, 22 Mar 2022 08:28:59 +0000 (09:28 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:20 +0000 (11:02 +0200)
commit7b602069cdddb59669cef7935c5ab06591945bfe
treeaf7ef5d7389f7d97d850c42c07b4ada8d732ebdb
parent6d644a6300912730e316874911e6e51ee636ec53
media: amphion: ensure the buffer count is not less than min_buffer

the output buffer count should >= min_buffer_out
the capture buffer count should >= min_buffer_cap

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/amphion/vpu_v4l2.c