]> git.baikalelectronics.ru Git - kernel.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)
commita71b1bb8601e7ae01788fb84917aeee53d8ef610
treeaf7ef5d7389f7d97d850c42c07b4ada8d732ebdb
parent04c6382b73a8f46ab953d0394ae542340cedeac0
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