v4l2-compliance: fix control test
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 12 Jul 2014 10:35:54 +0000 (12:35 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sat, 12 Jul 2014 10:35:54 +0000 (12:35 +0200)
commit48bed38d5f0787739a6a9c6d1e5f79c466b47a68
treebc4c0a0290d8a304791025b749bf6d45e8ae8825
parent7a0ddd526c38d2ad6318deb3a10d925086a9a479
v4l2-compliance: fix control test

The test 'step > max - min' doesn't make sense if min == max.
So check for that corner case.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-compliance/v4l2-test-controls.cpp