]> git.baikalelectronics.ru Git - kernel.git/commit
[media] stk1160: Check *nplanes in queue_setup
authorHelen Fornazier <helen.koike@collabora.co.uk>
Tue, 10 May 2016 03:06:14 +0000 (00:06 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 28 Jun 2016 11:05:09 +0000 (08:05 -0300)
commite9919ec160ba87d4c640f23784ef9aaf42a19b8f
treea13b14bc0fe9ef0cf4c555aaf1103f3eae53534b
parent8d95e1c198049104c0ab7e28eb51203b03dd2d34
[media] stk1160: Check *nplanes in queue_setup

If *nplanes is not zero, it should use the requested size if valid

Signed-off-by: Helen Koike <helen.koike@collabora.co.uk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/stk1160/stk1160-v4l.c