]> git.baikalelectronics.ru Git - kernel.git/commit
media: dvb_vb2: Use the sanitized value after processed by VB2 core
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 28 Dec 2017 14:03:21 +0000 (09:03 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 28 Dec 2017 16:17:28 +0000 (11:17 -0500)
commitae6f4aa065af97b7ee7141af1ddae90589d61205
tree5ffa50f6521e8f6efb10b7b6adaa32e721c1d923
parentfb36775406a45d83eb51a157cde55453c414f785
media: dvb_vb2: Use the sanitized value after processed by VB2 core

if the number of buffers requested by the user is too big, the
VB core will truncate to a valid value.

Use it, instead of what the user requested.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb_vb2.c