Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/video: Fix returned errno in error cases #9964

Merged
merged 1 commit into from Jul 31, 2023

Conversation

SPRESENSE
Copy link
Contributor

Summary

When the value that is out of range is specified in ioctl(VIDIOC_S_CTRL) and ioctl(VIDIOC_S_EXT_CTRLS), returned value should be not EINVAL but ERANGE.

Impact

video/isx012 and video/isx019

Testing

Tested with spresense

When the value that is out of range is specified in ioctl(VIDIOC_S_CTRL) and
ioctl(VIDIOC_S_EXT_CTRLS), returned value should be not EINVAL but ERANGE.
@xiaoxiang781216 xiaoxiang781216 merged commit 4b966aa into apache:master Jul 31, 2023
26 checks passed
@jerpelea jerpelea added this to To-Add in Release Notes - 12.3.0 Sep 26, 2023
@jerpelea jerpelea moved this from To-Add to drivers in Release Notes - 12.3.0 Sep 27, 2023
@jerpelea jerpelea moved this from drivers to done in Release Notes - 12.3.0 Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants