]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: set allow_zero_bytesused flag for vb2_queue_init
authorKamil Debski <k.debski@samsung.com>
Mon, 23 Feb 2015 12:26:19 +0000 (09:26 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Apr 2015 12:47:15 +0000 (09:47 -0300)
commit9396674cdaa2f7310991db9adae12431857af09c
tree7aa2636a2720968b5b88d11810c7a03eb1ff955b
parentb95f5c5f206c67a24ce1003ea20f689876f620a6
[media] s5p-mfc: set allow_zero_bytesused flag for vb2_queue_init

The s5p-mfc driver interprets a buffer with bytesused equal to 0 as a
special case indicating end-of-stream. After vb2: fix bytesused == 0
handling (cde8d0d) patch videobuf2 modified the value of bytesused if it
was 0. The allow_zero_bytesused flag was added to videobuf2 to keep
backward compatibility.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c