]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-ioctl.c: fix inverted condition
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 21 Sep 2014 12:09:58 +0000 (09:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 19:13:45 +0000 (16:13 -0300)
commit017ab36a8bce08ebdca741ea636f0b2e5006a143
tree53fb5cec0f6915ef9c662ee871c93d11a29c694f
parent692f637522f0ae230fe49aab3776603d5e2c5f31
[media] v4l2-ioctl.c: fix inverted condition

v4l_print_ext_controls() would print the 'size' if it was 0 and
'value' if size was non-zero, but it should have been the other
way around.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-ioctl.c