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)
commit19393a03577b4572f51364d9e12c0c695979243d
tree5ffa50f6521e8f6efb10b7b6adaa32e721c1d923
parent2c06aa7c31cfad2b95e298e55075b962b7e4dc2b
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