OSDN Git Service

[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)
commite34f2a96a44f3c9f2458aa53574e522306e76fe7
tree64a6c8c8eaa6e4c91c6b4df200b38e05cac08a59
parent2a00932f082aff93c3a55426e0c7af6d0ec03997
[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