]> 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)
commit97045fbb402d3b254bd74c6e28287e162c3846e3
treea13b14bc0fe9ef0cf4c555aaf1103f3eae53534b
parent014a468b89f33048e66da915d00faf5b8c35d4f6
[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