diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-04-06 00:04:50 +0400 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-06-12 16:39:10 -0600 |
commit | e42bf3cfedec2bd759976ad202f8383ef8f17473 (patch) | |
tree | 5f02768c3f403714b3a9b71bc7019113d56a204b /Documentation/hwmon/max6650.rst | |
parent | 858fd168a95c5b9669aac8db6c14a9aeab446375 (diff) |
selftests: media_tests: Add new subtest to video_device_test
Add new subtest to video_device_test to cover the VIDIOC_G_PRIORITY
and VIDIOC_S_PRIORITY ioctl calls. This test tries to set the priority
associated with the file descriptior via ioctl VIDIOC_S_PRIORITY
command from V4L2 API. After that, the test tries to get the new
priority via VIDIOC_G_PRIORITY ioctl command and compares the result
with the v4l2_priority it set before. At the end, the test restores the
old priority.
This test will increase the code coverage for video_device_test, so
I think it might be useful. Additionally, this patch will refactor the
video_device_test a little bit, according to the new functionality.
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/hwmon/max6650.rst')
0 files changed, 0 insertions, 0 deletions