summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov0322@gmail.com>2023-04-06 00:04:50 +0400
committerShuah Khan <skhan@linuxfoundation.org>2023-06-12 16:39:10 -0600
commite42bf3cfedec2bd759976ad202f8383ef8f17473 (patch)
tree5f02768c3f403714b3a9b71bc7019113d56a204b /drivers
parent858fd168a95c5b9669aac8db6c14a9aeab446375 (diff)
downloadlinux-stable-e42bf3cfedec2bd759976ad202f8383ef8f17473.tar.gz
linux-stable-e42bf3cfedec2bd759976ad202f8383ef8f17473.tar.bz2
linux-stable-e42bf3cfedec2bd759976ad202f8383ef8f17473.zip
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 'drivers')
0 files changed, 0 insertions, 0 deletions