]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: solo6x10: increase FRAME_BUF_SIZE
authorAndrey Utkin <andrey.utkin@corp.bluecherry.net>
Sun, 10 Jul 2016 00:44:50 +0000 (21:44 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 16:32:03 +0000 (13:32 -0300)
commit28b61f5f488e6798796bc401db2197e0a9e1473d
tree64a6c8c8eaa6e4c91c6b4df200b38e05cac08a59
parent6da3e51222490fa6e0ccee3155305340381a6d96
[media] media: solo6x10: increase FRAME_BUF_SIZE

In practice, devices sometimes return frames larger than current buffer
size, leading to failure in solo_send_desc().
It is not clear which minimal increase in buffer size would be enough,
so this patch doubles it, this should be safely assumed as sufficient.

Signed-off-by: Andrey Utkin <andrey.utkin@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c